921e5a0eb4
From-SVN: r14840
16 lines
193 B
C
16 lines
193 B
C
// Build don't link:
|
|
|
|
struct X {
|
|
X();
|
|
};
|
|
typedef void (X::*mfp)();
|
|
struct Y {
|
|
Y();
|
|
mfp memfp;
|
|
};
|
|
void f()
|
|
{
|
|
Y *y1, *y2 ;
|
|
*y1 = *y2; // gets bogus error - failed to synthesize op=
|
|
}
|