Sign in
gnu
/
gcc
/
refs/tags/basepoints/gcc-13
/
.
/
gcc
/
testsuite
/
gdc.test
/
runnable
/
test18868_2.d
blob: a90ec1f3318b981c90292e9bbe75e0d4c8c25252 [
file
] [
log
] [
blame
]
mixin
(
genCtor
(
"666"
));
mixin
(
genCtor
(
"777"
));
int
i
;
string
genCtor
(
string
a
)
{
return
"static this() { i += "
~
a
~
"; }"
;
}
void
main
()
{
assert
(
i
==
0
+
666
+
777
);
}