URL
https://opencores.org/ocsvn/scarts/scarts/trunk
Subversion Repositories scarts
[/] [scarts/] [trunk/] [toolchain/] [scarts-gcc/] [gcc-4.1.1/] [gcc/] [testsuite/] [g++.old-deja/] [g++.other/] [anon8.C] - Rev 12
Compare with Previous | Blame | View Log
// { dg-do assemble }
struct B
{
int a;
B & operator= (const B &);
};
struct A
{
union {
int a;
};
B b;
};
A x;
void foo (const A &y)
{
x = y;
}