blob: f81774b2869d0e4c2825a6f7516e7ff8689689a3 [file] [log] [blame]
/*
TEST_OUTPUT:
---
fail_compilation/fail208.d(18): Error: `return` expression expected
fail_compilation/fail208.d(21): called from here: `MakeA()`
---
*/
// https://issues.dlang.org/show_bug.cgi?id=1593
// ICE compiler crash empty return statement in function
struct A
{
}
A MakeA()
{
return ;
}
static const A aInstance = MakeA();