Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
gdc.test
/
compilable
/
test19292.d
blob: 8122851c6ca1927c648a6aaa5934085fb5f40556 [
file
] [
log
] [
blame
]
// https://issues.dlang.org/show_bug.cgi?id=19292
mixin
(
"enum a = "
,
87
,
";"
);
static
assert
(
a
==
87
);
int
test
()
{
mixin
(
"enum x = "
,
7
,
";"
);
return
mixin
(
"1"
,
x
,
2U
);
}
void
testit
()
{
static
assert
(
test
()
==
172
);
}