Debian Codegraph @

gcc/testsuite/gdc.test/fail_compilation/fail7424h.d

raw
1 /*
2 TEST_OUTPUT:
3 ---
4 fail_compilation/fail7424h.d(10): Error: template `this.g()()` has no value
5 ---
6 */
7 struct S7424g
8 {
9 @property int g()() { return 0; }
10 void test() inout { int f = g; }
11 }