blob: 2c356fdc03b45881b88969bf8756e3d1d465ff7e (
plain)
1
2
3
4
5
6
7
8
9
|
// EXTRA_FILES: imports/test17441foo/package.d imports/test17441foo/bar.d
import m1 = imports.test17441foo.bar;
import m2 = imports.test17441foo;
alias p = __traits(parent, m1);
enum e(alias thing) = thing.stringof;
static assert(e!m1 == m1.stringof);
static assert(e!m2 == m2.stringof);
static assert( e!p == p.stringof );
|