Sign in
skia
/
skia
/
0758da2c60b06d8c69baecc8fd049e84821fd31c
/
.
/
tests
/
sksl
/
errors
/
AssignmentTypeMismatch.sksl
blob: ea40b39bbd87d8af534c6ad9ac413ad17420be02 [
file
] [
log
] [
blame
]
void
vardecl_assign_float_to_int
()
{
int
x
=
1.0
;
}
void
statement_assign_float_to_int
()
{
int
x
;
x
=
1.0
;
}
void
times_equals_int3_by_float
()
{
int3 x
=
int3
(
0
);
x
*=
1.0
;
}