2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / g++.dg / init / ref8.C
blob406cc10401d4ca5487645b97ec9eca7dc7ad87f9
1 struct A {
2    A operator=(const A&);
3 };
5 A operator*(A, A);
7 A& operator+=(A& a, const A& b)
9    return a = a * b;            // { dg-error "non-const reference" }