xref: /aosp_15_r20/external/skia/tests/sksl/errors/SwitchWithContinueInside.glsl (revision c8dee2aa9b3f27cf6c858bd81872bdeb2c07ed17)
1*c8dee2aaSAndroid Build Coastguard Worker### Compilation failed:
2*c8dee2aaSAndroid Build Coastguard Worker
3*c8dee2aaSAndroid Build Coastguard Workererror: 4: continue statement cannot be used in a switch
4*c8dee2aaSAndroid Build Coastguard Worker    while (true) switch (value) { default: continue; }
5*c8dee2aaSAndroid Build Coastguard Worker                                           ^^^^^^^^
6*c8dee2aaSAndroid Build Coastguard Workererror: 5: continue statement cannot be used in a switch
7*c8dee2aaSAndroid Build Coastguard Worker    for (;;) switch (value) { case 5: continue; }
8*c8dee2aaSAndroid Build Coastguard Worker                                      ^^^^^^^^
9*c8dee2aaSAndroid Build Coastguard Worker2 errors
10