mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 21:21:48 +03:00
18 lines
276 B
D
18 lines
276 B
D
/*
|
|
TEST_OUTPUT:
|
|
---
|
|
fail_compilation/fail7861.d(18): Error: no property `nonexistent` for type `test.B`
|
|
fail_compilation/fail7861.d(14): struct `B` defined here
|
|
---
|
|
*/
|
|
module test;
|
|
|
|
mixin template A() {
|
|
import test;
|
|
}
|
|
|
|
struct B {
|
|
mixin A!();
|
|
}
|
|
|
|
enum C = B.nonexistent;
|