URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc2/] [gcc/] [testsuite/] [g++.old-deja/] [g++.pt/] [m1.C] - Rev 384
Compare with Previous | Blame | View Log
// { dg-do assemble }
int f1 () {
struct A {
A() : b (2) { }
int fred () { return b.hi_mom; }
struct B {
int hi_mom;
B (int a) { hi_mom = a; }
};
B b;
};
A aa;
return aa.fred();
}
/* crashes with signal 11 */