blob: a1ab4d2a54c1eda8c4536bba127fb2bd8ae0beea [file] [log] [blame]
// Special g++ Options: -fexceptions
// excess errors test - XFAIL a29k-*-* sparc64-*-elf arm-*-pe
#include <typeinfo>
class MyExceptionHandler { };
main() {
try {
throw MyExceptionHandler();
} catch(const MyExceptionHandler& eh) {
return 0;
} catch(...) {
return 1;
}
return 1;
}