X-Git-Url: https://oss.titaniummirror.com/gitweb?a=blobdiff_plain;f=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.mike%2Feh29.C;fp=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.mike%2Feh29.C;h=0000000000000000000000000000000000000000;hb=6fed43773c9b0ce596dca5686f37ac3fc0fa11c0;hp=fa68455195043307a49eabaca8584a2ccecc8c75;hpb=27b11d56b743098deb193d510b337ba22dc52e5c;p=msp430-gcc.git diff --git a/gcc/testsuite/g++.old-deja/g++.mike/eh29.C b/gcc/testsuite/g++.old-deja/g++.mike/eh29.C deleted file mode 100644 index fa684551..00000000 --- a/gcc/testsuite/g++.old-deja/g++.mike/eh29.C +++ /dev/null @@ -1,27 +0,0 @@ -// Special g++ Options: -fexceptions -// excess errors test - XFAIL a29k-*-* sparc64-*-elf arm-*-pe - -int count; - -class A { -public: - A() { -// printf("ctor %x\n", (int)this); - if (count==3) - throw 1; - ++count; - } - ~A() { - --count; -// printf("dtor %x\n", (int)this); - } -}; - -main() { - try { - A a[5]; - } catch (...) { - return count; - } - return 1; -}