blob: 887c85970b83f8c6d4ed069ce7c0884287d91d6c [file] [log] [blame]
/*
TEST_OUTPUT:
---
fail_compilation/fail7424i.d(10): Error: template `this.g()()` has no value
---
*/
struct S7424g
{
@property int g()() immutable { return 0; }
void test() inout { int f = g; }
}