mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 21:21:48 +03:00
7 lines
221 B
D
7 lines
221 B
D
/*
|
|
TEST_OUTPUT:
|
|
---
|
|
fail_compilation/fail19955.d(7): Error: `switch` statement without a `default`; use `final switch` or add `default: assert(0);` or add `default: break;`
|
|
---
|
|
*/
|
|
void f() { switch(1) static assert(1); }
|