URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 154 |
Rev 816 |
// { dg-do run { xfail sparc64-*-elf arm-*-pe } }
|
// { dg-do run { xfail sparc64-*-elf arm-*-pe } }
|
// { dg-options "-fexceptions" }
|
// { dg-options "-fexceptions" }
|
// prms-id: 7912
|
// prms-id: 7912
|
|
|
int count = 0;
|
int count = 0;
|
|
|
class Foo {
|
class Foo {
|
public:
|
public:
|
Foo() { ++count; };
|
Foo() { ++count; };
|
Foo(const Foo&) { ++count; };
|
Foo(const Foo&) { ++count; };
|
~Foo() { --count; };
|
~Foo() { --count; };
|
};
|
};
|
|
|
|
|
main()
|
main()
|
{
|
{
|
try {
|
try {
|
throw Foo();
|
throw Foo();
|
}
|
}
|
catch (Foo object) {
|
catch (Foo object) {
|
}
|
}
|
return count;
|
return count;
|
}
|
}
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.