Debian Codegraph @

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

raw
1 /*
2 TEST_OUTPUT:
3 ---
4 fail_compilation/fail19076.d(12): Error: no property `V` for type `fail19076.I`
5 fail_compilation/fail19076.d(11): interface `I` defined here
6 fail_compilation/fail19076.d(12): Error: `(I).V` cannot be resolved
7 ---
8 */
9
10 interface P { }
11 interface I : P { }
12 auto F = __traits(getVirtualMethods, I, "V");