mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 21:21:48 +03:00
13 lines
296 B
D
13 lines
296 B
D
/*
|
|
TEST_OUTPUT:
|
|
---
|
|
fail_compilation/diag8697.d(11): Error: no property `Invalid` for type `diag8697.Base`
|
|
fail_compilation/diag8697.d(9): class `Base` defined here
|
|
---
|
|
*/
|
|
interface InterBase : InterRoot { }
|
|
class Base : InterBase { }
|
|
|
|
void test(Base.Invalid) { }
|
|
|
|
interface InterRoot { }
|