X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.mike%2Feh24.C;fp=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.mike%2Feh24.C;h=0000000000000000000000000000000000000000;hb=6fed43773c9b0ce596dca5686f37ac3fc0fa11c0;hp=0eb2c7b471737032bceec50cc7261aadcfff2a90;hpb=27b11d56b743098deb193d510b337ba22dc52e5c;p=msp430-gcc.git diff --git a/gcc/testsuite/g++.old-deja/g++.mike/eh24.C b/gcc/testsuite/g++.old-deja/g++.mike/eh24.C deleted file mode 100644 index 0eb2c7b4..00000000 --- a/gcc/testsuite/g++.old-deja/g++.mike/eh24.C +++ /dev/null @@ -1,33 +0,0 @@ -// Special g++ Options: -fexceptions -// excess errors test - XFAIL a29k-*-* sparc64-*-elf arm-*-pe - -int fail = 0; - -struct A { - int ok; - A() { - ok = 1; - } - ~A() { - if (! ok) - fail = 1; - ok = 0; - } -}; - -main() { - try { - try { - A a; - throw 1.0; - } catch (double i) { - A a1; - throw 1; // make sure both a1 and a2 are not destroyed when we throw! - } catch (int i) { - A a2; - throw 1.0; - } - } catch (int i) { - } - return fail; -}