dan sinclair | 6931379 | 2024-06-13 20:35:21 +0000 | [diff] [blame] | 1 | SKIP: FAILED |
| 2 | |
dan sinclair | 8f1d276 | 2024-07-31 02:35:40 +0000 | [diff] [blame] | 3 | |
| 4 | [numthreads(1, 1, 1)] |
| 5 | void 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 | |
| 48 | FXC validation failure: |
Antonio Maiorano | 4f97c0e | 2024-08-22 05:42:29 +0000 | [diff] [blame] | 49 | <scrubbed_path>(18,11-19): error X3708: continue cannot be used in a switch |
dan sinclair | 8f1d276 | 2024-07-31 02:35:40 +0000 | [diff] [blame] | 50 | |
Antonio Maiorano | aef5957 | 2024-08-23 21:30:37 +0000 | [diff] [blame] | 51 | |
| 52 | tint executable returned error: exit status 1 |