blob: dcfb5e7a0930a064466368d051a5ce9a7af43d97 [file] [log] [blame]
// { dg-do run { xfail sparc64-*-elf arm-*-pe } }
// { dg-options "-fexceptions" }
#include <typeinfo>
class MyExceptionHandler { };
int
main() {
try {
throw MyExceptionHandler();
} catch(const MyExceptionHandler& eh) {
return 0;
} catch(...) {
return 1;
}
return 1;
}