Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
gdc.test
/
runnable
/
test20365.d
blob: 71865a5a04702fc34c2a347b1c2c8aa211f40602 [
file
] [
log
] [
blame
]
// https://issues.dlang.org/show_bug.cgi?id=20365
string
result
=
""
;
struct
S
{
long
[
3
]
a
;
this
(
ref
typeof
(
this
))
{
result
~=
"C"
;
}
}
void
fun
()
{
S
[
4
]
a
;
auto
b
=
a
;
}
void
main
()
{
fun
();
assert
(
result
==
"CCCC"
);
}