/* | |
TEST_OUTPUT: | |
--- | |
fail_compilation/fail208.d(18): Error: return expression expected | |
fail_compilation/fail208.d(21): called from here: MakeA() | |
--- | |
*/ | |
// Issue 1593 - ICE compiler crash empty return statement in function | |
struct A | |
{ | |
} | |
A MakeA() | |
{ | |
return ; | |
} | |
static const A aInstance = MakeA(); |