Sign in
gnu
/
gcc
/
refs/tags/basepoints/gcc-13
/
.
/
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
;
}