xref: /aosp_15_r20/external/skia/resources/sksl/errors/UnscopedVariableInFor.rts (revision c8dee2aa9b3f27cf6c858bd81872bdeb2c07ed17)
1void func() {
2    for (int x=0; x<10; ++x) float s = sqrt(4);
3}
4
5/*%%*
6variable 's' must be created in a scope
7*%%*/
8