Commit 6a0d3671 by Jason Merrill

fix

From-SVN: r16817
parent 2d2e7054
// Special g++ Options: -fexceptions // Special g++ Options: -fexceptions
// excess errors test - XFAIL hppa*-*-* a29k-*-* sparc64-*-elf sh-*-* z8k-*-* arm-*-pe**-* // excess errors test - XFAIL hppa*-*-* a29k-*-* sparc64-*-elf sh-*-* z8k-*-* arm-*-pe**-*
#include <exception>
void my_unexpected() { void my_unexpected() {
throw 42; throw 42;
} }
......
// Special g++ Options: -fexceptions // Special g++ Options: -fexceptions
// excess errors test - XFAIL a29k-*-* sparc64-*-elf sh-*-* arm-*-pe**-* // excess errors test - XFAIL a29k-*-* sparc64-*-elf sh-*-* arm-*-pe**-*
#include <exception>
void my_unexpected() { void my_unexpected() {
exit (0); exit (0);
} }
......
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
// excess errors test - XFAIL a29k-*-* sparc64-*-elf sh-*-* arm-*-pe**-* // excess errors test - XFAIL a29k-*-* sparc64-*-elf sh-*-* arm-*-pe**-*
#include <cstdlib> #include <cstdlib>
#include <exception>
void myterm() { void myterm() {
exit (0); exit (0);
......
// Special g++ Options: -fexceptions // Special g++ Options: -fexceptions
// excess errors test - XFAIL hppa*-*-* a29k-*-* sparc64-*-elf sh-*-* z8k-*-* arm-*-pe**-* // excess errors test - XFAIL hppa*-*-* a29k-*-* sparc64-*-elf sh-*-* z8k-*-* arm-*-pe**-*
#include <exception>
void my_unexpected() { void my_unexpected() {
throw 42; throw 42;
} }
......
// Special g++ Options: -fexceptions // Special g++ Options: -fexceptions
// excess errors test - XFAIL a29k-*-* sparc64-*-elf sh-*-* z8k-*-* arm-*-pe**-* // excess errors test - XFAIL a29k-*-* sparc64-*-elf sh-*-* z8k-*-* arm-*-pe**-*
#include <exception>
void my_unexpected() { void my_unexpected() {
throw 42; throw 42;
} }
......
// Special g++ Options: -fexceptions // Special g++ Options: -fexceptions
// excess errors test - XFAIL a29k-*-* sparc64-*-elf sh-*-* arm-*-pe**-* // excess errors test - XFAIL a29k-*-* sparc64-*-elf sh-*-* arm-*-pe**-*
#include <exception>
void my_terminate_handler() { void my_terminate_handler() {
exit(0); exit(0);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment