Debian Codegraph @

gcc/testsuite/gdc.test/fail_compilation/diag12640.d

raw
1 /*
2 TEST_OUTPUT:
3 ---
4 fail_compilation/diag12640.d(14): Error: undefined identifier `asdf`
5 fail_compilation/diag12640.d(23): Error: undefined identifier `asdf`
6 ---
7 */
8
9 void main()
10 {
11 switch (1)
12 {
13 case 0:
14 asdf;
15 break;
16
17 default:
18 }
19
20 switch (1)
21 {
22 default:
23 asdf;
24 break;
25
26 case 0:
27 }
28
29 }