| 1 |
// https://issues.dlang.org/show_bug.cgi?id=22035 |
| 2 |
/* TEST_OUTPUT: |
| 3 |
--- |
| 4 |
fail_compilation/fail22035.d(10): Error: found `2` when expecting `:` |
| 5 |
fail_compilation/fail22035.d(10): Error: found `:` instead of statement |
| 6 |
--- |
| 7 |
*/ |
| 8 |
int test22035() |
| 9 |
{ |
| 10 |
case 1 2: |
| 11 |
} |