blob: 786a6e6f12a2f2d6f4c933d761664305b1cfa6ea [file] [log] [blame]
uniform int value;
void main() {
while (true) switch (value) { default: continue; }
for (;;) switch (value) { case 5: continue; }
// Static switches are flattened out so they should not generate an error.
while (true) @switch (0) { default: continue; }
for (;;) @switch (5) { case 5: continue; }
}
/*%%*
continue statement cannot be used in a switch
continue statement cannot be used in a switch
*%%*/