Debian Codegraph @

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

raw
1 // https://issues.dlang.org/show_bug.cgi?id=23108
2 /* TEST_OUTPUT:
3 ---
4 fail_compilation/fail23108b.d(10): Error: undefined identifier `_xopEquals` in module `object`
5 fail_compilation/fail23108b.d(10): Error: undefined identifier `_xopCmp` in module `object`
6 ---
7 */
8 module object;
9
10 struct Interface
11 {
12 void[] vtbl;
13 int opCmp() { return 0; }
14 }
15
16 class TypeInfo
17 {
18 }