John Stiles | 1c5eb4b | 2021-09-21 14:36:34 -0400 | [diff] [blame] | 1 | uniform int value; |
2 | |||||
3 | void main() { | ||||
4 | while (true) switch (value) { default: continue; } | ||||
5 | for (;;) switch (value) { case 5: continue; } | ||||
6 | |||||
7 | // Static switches are flattened out so they should not generate an error. | ||||
8 | while (true) @switch (0) { default: continue; } | ||||
9 | for (;;) @switch (5) { case 5: continue; } | ||||
10 | } |