blob: 1af14f83d7e5dd95b6128c6c531fe63a8f07514e [file] [log] [blame]
/*
TEST_OUTPUT:
---
fail_compilation/fail7424f.d(10): Error: template `this.g()()` has no value
---
*/
struct S7424f
{
@property int g()() shared { return 0; }
void test() { int f = g; }
}