blob: a43a7e10e07ac2e5802a8ef1bd545790de9ccd58 [file] [log] [blame]
/*
TEST_OUTPUT:
---
fail_compilation/diag19225.d(14): Error: basic type expected, not `else`
fail_compilation/diag19225.d(14): There's no `static else`, use `else` instead.
fail_compilation/diag19225.d(14): Error: found `else` without a corresponding `if`, `version` or `debug` statement
fail_compilation/diag19225.d(15): Error: unmatched closing brace
---
*/
void main()
{
static if (true) {}
static else {}
}