Sign in
gnu
/
gcc
/
fba228e259dd5112851527f2dbb62c5601100985
/
.
/
gcc
/
testsuite
/
gdc.test
/
fail_compilation
/
fail19955.d
blob: 7cdce2c676ad5ddd32e8094e41fee91227e1f796 [
file
] [
log
] [
blame
]
// PERMUTE_ARGS:
/*
TEST_OUTPUT:
---
fail_compilation/fail19955.d(8): 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
);
}