Debian Codegraph @

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

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