blob: 043a6174a6fb1120882a69c72b17f6d474b639b5 [file] [log] [blame]
// Special g++ Options: -fexceptions
// excess errors test - XFAIL a29k-*-* sparc64-*-elf sh-*-* arm-*-pe**-*
#include <cstdlib>
#include <exception>
void myterm() {
exit (0);
}
main() {
try {
throw "";
} catch (...) {
}
try {
std::set_terminate (myterm);
throw;
} catch (...) {
return 1;
}
return 1;
}