blob: 8015e20c2b140f54207a54012fd802bf620a0b8a [file] [log] [blame]
John Stiles1c5eb4b2021-09-21 14:36:34 -04001uniform int value;
2
3void 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}