summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gdc.test/compilable/test8922a.d
blob: e2f3d5c2c67a3b9a665c1f1f37ad4cfb046cb731 (plain)
1
2
3
4
5
6
7
8
9
// PERMUTE_ARGS:
import imports.bug8922;

void test()
{
    static assert(!__traits(compiles, __traits(parent, imports)));
    enum x = __traits(parent, imports.bug8922).stringof;
    static assert(x == "package imports");
}