mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 05:00:16 +03:00
11 lines
253 B
D
11 lines
253 B
D
// https://issues.dlang.org/show_bug.cgi?id=22035
|
|
/* TEST_OUTPUT:
|
|
---
|
|
fail_compilation/fail22035.d(10): Error: found `2` when expecting `:`
|
|
fail_compilation/fail22035.d(10): Error: found `:` instead of statement
|
|
---
|
|
*/
|
|
int test22035()
|
|
{
|
|
case 1 2:
|
|
}
|