repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
d: Merge upstream dmd 47871363d, druntime, c52e28b7, phobos 99e9c1b77.
[official-gcc.git]
/
gcc
/
testsuite
/
gdc.test
/
compilable
/
test8922b.d
blob
408c6e9571dcb386a7224f0d6f1e5510ef72f65d
1
// PERMUTE_ARGS:
2
// EXTRA_FILES: imports/bug8922.d
3
void
test
()
4
{
5
import
imports
.
bug8922
;
6
static assert
(!
__traits
(
compiles
,
__traits
(
parent
,
imports
)));
7
enum
x
=
__traits
(
parent
,
imports
.
bug8922
).
stringof
;
8
static assert
(
x
==
"package imports"
);
9
}