Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
gdc.test
/
compilable
/
test22226.d
blob: 77b37971dfe3f2436eef3da4d704a9e329e04dd2 [
file
] [
log
] [
blame
]
// https://issues.dlang.org/show_bug.cgi?id=22226
struct
A
{}
A move
(
A a
)
{
return
A
.
init
;
}
struct
SumType
{
A a
;
this
(
A value
)
{
a
=
__ctfe
?
value
:
move
(
value
);
}
}