blob: 9423ac1269b6960a285781bc35993243b279c990 [file] [log] [blame]
// { dg-do assemble }
// { dg-options "-Wsynth" }
struct A {
operator int ();
A& operator= (int); // { dg-warning "" } not used below
};
main()
{
A a, b;
a = b; // { dg-warning "" } uses synthesized op=
}