Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
gdc.test
/
compilable
/
test8922b.d
blob: 408c6e9571dcb386a7224f0d6f1e5510ef72f65d [
file
] [
log
] [
blame
]
// PERMUTE_ARGS:
// EXTRA_FILES: imports/bug8922.d
void
test
()
{
import
imports
.
bug8922
;
static
assert
(!
__traits
(
compiles
,
__traits
(
parent
,
imports
)));
enum
x
=
__traits
(
parent
,
imports
.
bug8922
).
stringof
;
static
assert
(
x
==
"package imports"
);
}