Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
gdc.test
/
compilable
/
must_use_opassign.d
blob: 8e877dd69b6d3dd4594193dc770ec580dd82ec40 [
file
] [
log
] [
blame
]
import
core
.
attribute
;
@mustuse
struct
S
{
ref
S opAssign
(
S rhs
)
return
{
return
this
;
}
}
void
test
()
{
S a
,
b
;
a
=
b
;
}