blob: 54d41b788c6ad54bd8bc5f8b83c0f6321978e866 [file] [log] [blame]
// Build don't link:
struct B
{
int a;
B & operator= (const B &);
};
struct A
{
union {
int a;
};
B b;
};
A x;
void foo (const A &y)
{
x = y;
}