blob: 25866c319defa4d0af0b24dfc8859d414ecd9087 [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 int i = 0;
7 {
8 int i = 0;
9 while(true) {
10 if ((i < 2)) {
11 } else {
12 break;
13 }
14 switch(i) {
15 case 0:
16 {
17 {
18 i = (i + 1);
19 }
20 continue;
21 }
22 default:
23 {
24 break;
25 }
26 }
27 switch(i) {
28 case 0:
29 {
30 {
31 i = (i + 1);
32 }
33 continue;
34 }
35 default:
36 {
37 break;
38 }
39 }
40 {
41 i = (i + 1);
42 }
43 continue;
44 }
45 }
46}
47
48FXC validation failure:
Antonio Maiorano4f97c0e2024-08-22 05:42:29 +000049<scrubbed_path>(18,11-19): error X3708: continue cannot be used in a switch
dan sinclair8f1d2762024-07-31 02:35:40 +000050
Antonio Maioranoaef59572024-08-23 21:30:37 +000051
52tint executable returned error: exit status 1