xref: /aosp_15_r20/external/skia/tests/sksl/errors/UnscopedVariableInFor.glsl (revision c8dee2aa9b3f27cf6c858bd81872bdeb2c07ed17)
1### Compilation failed:
2
3error: 2: variable 's' must be created in a scope
4    for (int x=0; x<10; ++x) float s = sqrt(4);
5                             ^^^^^^^^^^^^^^^^^
61 error
7