X-Git-Url: https://oss.titaniummirror.com/gitweb?a=blobdiff_plain;f=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.eh%2Fterminate2.C;fp=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.eh%2Fterminate2.C;h=0000000000000000000000000000000000000000;hb=6fed43773c9b0ce596dca5686f37ac3fc0fa11c0;hp=6f7512404657f372c9dbca14271fe33f92500796;hpb=27b11d56b743098deb193d510b337ba22dc52e5c;p=msp430-gcc.git 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 index 6f751240..00000000 --- a/gcc/testsuite/g++.old-deja/g++.eh/terminate2.C +++ /dev/null @@ -1,16 +0,0 @@ -// Test that an unhandled exception causes us to call terminate. - -#include -#include - -void my_terminate () -{ - std::exit (0); -} - -int main (void) -{ - std::set_terminate (my_terminate); - throw 1; - return 1; -}