MATCH: Improve `A CMP 0 ? A : -A` set of patterns to use bitwise_equal_p.
[official-gcc.git] / gcc / testsuite / gdc.test / fail_compilation / fail15535.d
blob6f71a927fb2309f3e80fbe6ddf6d1081c75e19c0
1 /*
2 TEST_OUTPUT:
3 ---
4 fail_compilation/fail15535.d(17): Error: `goto default` not allowed in `final switch` statement
5 ---
6 */
8 void test()
10 int i;
11 switch (i)
13 case 0:
14 final switch (i)
16 case 1:
17 goto default;
19 default:
20 break;