blob: 4a6cfb94d5231c0de3aae48c1b21a51663b899cd [file] [log] [blame]
dan sinclair69313792024-06-13 20:35:21 +00001SKIP: FAILED
2
dan sinclair8f1d2762024-07-31 02:35:40 +00003
4[numthreads(1, 1, 1)]
5void main() {
6 {
7 int i = 0;
8 while(true) {
9 if ((i < 2)) {
10 } else {
11 break;
12 }
13 {
14 int j = 0;
15 while(true) {
16 if ((j < 2)) {
17 } else {
18 break;
19 }
20 switch(i) {
21 case 0:
22 {
23 {
24 j = (j + 2);
25 }
26 continue;
27 }
28 default:
29 {
30 break;
31 }
32 }
33 {
34 j = (j + 2);
35 }
36 continue;
37 }
38 }
39 {
40 i = (i + 2);
41 }
42 continue;
43 }
44 }
45}
46
47FXC validation failure:
Antonio Maiorano4f97c0e2024-08-22 05:42:29 +000048<scrubbed_path>(24,15-23): error X3708: continue cannot be used in a switch
dan sinclair8f1d2762024-07-31 02:35:40 +000049
Antonio Maioranoaef59572024-08-23 21:30:37 +000050
51tint executable returned error: exit status 1