URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.dg/] [eh/] [synth2.C] - Rev 816
Compare with Previous | Blame | View Log
// PR c++/24580
// { dg-do run }
struct vbase {};
struct foo : virtual vbase
{
foo()
{
throw "exception in foo ctor";
}
};
struct bar : public foo {};
int main()
{
try
{
bar a;
}
catch ( ... ) { }
return 0;
}