mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 21:21:48 +03:00
18 lines
368 B
D
18 lines
368 B
D
// https://issues.dlang.org/show_bug.cgi?id=23108
|
|
/* TEST_OUTPUT:
|
|
---
|
|
fail_compilation/fail23108b.d(10): Error: undefined identifier `_xopEquals` in module `object`
|
|
fail_compilation/fail23108b.d(10): Error: undefined identifier `_xopCmp` in module `object`
|
|
---
|
|
*/
|
|
module object;
|
|
|
|
struct Interface
|
|
{
|
|
void[] vtbl;
|
|
int opCmp() { return 0; }
|
|
}
|
|
|
|
class TypeInfo
|
|
{
|
|
}
|