d: Merge upstream dmd 568496d5b, druntime 178c44ff, phobos 574bf883b.
[official-gcc.git] / gcc / testsuite / gdc.test / compilable / test17441.d
blob2c356fdc03b45881b88969bf8756e3d1d465ff7e
1 // EXTRA_FILES: imports/test17441foo/package.d imports/test17441foo/bar.d
2 import m1 = imports.test17441foo.bar;
3 import m2 = imports.test17441foo;
4 alias p = __traits(parent, m1);
5 enum e(alias thing) = thing.stringof;
7 static assert(e!m1 == m1.stringof);
8 static assert(e!m2 == m2.stringof);
9 static assert( e!p == p.stringof );