1 // { dg-do assemble } 2 3 struct X { 4 X(); 5 }; 6 typedef void (X::*mfp)(); 7 struct Y { 8 Y(); 9 mfp memfp; 10 }; f()11 void f() 12 { 13 Y *y1, *y2 ; 14 *y1 = *y2; // { dg-bogus "" } failed to synthesize op= 15 } 16