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