Sign in
skia
/
skia
/
d6a030b3a4c68f666f5d066b09bf9cf61e1a8aaa
/
.
/
resources
/
sksl
/
errors
/
FloatRemainder.rts
blob: fd6f360b525125cd9aef72d0392e923fe262b127 [
file
] [
log
] [
blame
]
// Expect 2 errors (one per function)
float
x
;
float
y
;
void
rem
()
{
x
=
x
%
y
;
}
void
rem_eq
()
{
x
%=
y
;
}
/*%%*
type mismatch: '%' cannot operate on 'float', 'float'
type mismatch: '%=' cannot operate on 'float', 'float'
*%%*/