1 // EXTRA_SOURCES: imports/test21501b.d imports/test21501c.d
2 // https://issues.dlang.org/show_bug.cgi?id=21501
5 import imports.test21501b;
6 import imports.test21501c;
8 alias Identity(alias T) = T;
12 alias a = imports.test21501c.C;
13 const int b = imports.test21501c.D; // fixed
14 alias c = Identity!(mixin(q{imports.test21501c.C})); // fixed
15 const int d = Identity!(mixin(q{imports.test21501c.D})); // fixed
17 static assert(is(a == c) && is(a == int));
18 static assert(b == d && b == 1);