blob: da5ad3a6267c3c9c8d32c71862110626c978b1af (
plain)
1
2
3
4
5
6
7
8
9
10
|
// PERMUTE_ARGS:
static import imports.bug8922;
void test()
{
static assert(!__traits(compiles, __traits(parent, imports)));
static assert(!__traits(compiles, __traits(parent, bug8922)));
enum x = __traits(parent, imports.bug8922).stringof;
static assert(x == "package imports");
}
|