]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.eh/terminate2.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.eh / terminate2.C
diff --git a/gcc/testsuite/g++.old-deja/g++.eh/terminate2.C b/gcc/testsuite/g++.old-deja/g++.eh/terminate2.C
deleted file mode 100644 (file)
index 6f75124..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-// Test that an unhandled exception causes us to call terminate.
-
-#include <exception>
-#include <cstdlib>
-
-void my_terminate ()
-{
-  std::exit (0);
-}
-
-int main (void)
-{
-  std::set_terminate (my_terminate);
-  throw 1;
-  return 1;
-}