Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
gdc.test
/
compilable
/
test21828.d
blob: 06a67caefb12a8fb0aed833d7d60a6613b8bb69b [
file
] [
log
] [
blame
]
// https://issues.dlang.org/show_bug.cgi?id=21828
struct
S
{
enum
E
{
e1
=
0
,
}
E e
;
enum
S s1
=
S
(
E
.
e1
);
}
SE se
;
enum
SE
{
e1
=
S
.
s1
}
// reduced case, forward references just assume int value
E e
;
enum
E
{
a
=
"x"
}