blob: 0101ae98bf1a093eedb71bf1aa0bbbc2a719d2ea [file] [log] [blame]
/*
REQUIRED_ARGS: -o- -de
TEST_OUTPUT:
---
fail_compilation/fail4559.d(13): Deprecation: use `{ }` for an empty statement, not `;`
fail_compilation/fail4559.d(19): Deprecation: use `{ }` for an empty statement, not `;`
fail_compilation/fail4559.d(21): Deprecation: use `{ }` for an empty statement, not `;`
---
*/
void foo()
{
int x;;
enum A
{
a,
b,
c
};
void bar() {};
}