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