Sign in
llvm
/
llvm-archive
/
80a0e6b09a6ccb2f8832d59b5fb8d96f9ae994c5
/
.
/
llvm-gcc-4.0
/
gcc
/
testsuite
/
g++.dg
/
init
/
ref8.C
blob: 406cc10401d4ca5487645b97ec9eca7dc7ad87f9 [
file
] [
log
] [
blame
]
struct
A
{
A
operator
=(
const
A
&);
};
A
operator
*(
A
,
A
);
A
&
operator
+=(
A
&
a
,
const
A
&
b
)
{
return
a
=
a
*
b
;
// { dg-error "non-const reference" }
}