Sign in
skia
/
skia
/
437cd4d85737039dd9719667905832982b843574
/
.
/
resources
/
sksl
/
errors
/
UnscopedVariableInFor.rts
blob: 59904aa415841528a80b91f4c0ca262d5120e7ad [
file
] [
log
] [
blame
]
void
func
()
{
for
(
int
x
=
0
;
x
<
10
;
++
x
)
float
s
=
sqrt
(
4
);
}
/*%%*
variable 's' must be created in a scope
*%%*/