d: Merge upstream dmd, druntime 4c18eed967, phobos d945686a4.
[official-gcc.git] / gcc / testsuite / gdc.test / fail_compilation / test15925.d
blob88102ac8ff2661e695b92fc4edf9300e05a660b9
1 /*
2 EXTRA_FILES: imports/imp15925.d
3 TEST_OUTPUT:
4 ---
5 fail_compilation/test15925.d(18): Error: undefined identifier `X`
6 fail_compilation/test15925.d(18): while evaluating: `static assert(X == 1)`
7 ---
8 */
10 mixin template Import()
12 import imports.imp15925;
15 class Foo
17 mixin Import!();
18 static assert(X == 1);