X-Git-Url: https://oss.titaniummirror.com/gitweb?a=blobdiff_plain;f=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.brendan%2Fcrash17.C;fp=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.brendan%2Fcrash17.C;h=0000000000000000000000000000000000000000;hb=6fed43773c9b0ce596dca5686f37ac3fc0fa11c0;hp=70da8d50ada92165c451095353f89331bf9699d8;hpb=27b11d56b743098deb193d510b337ba22dc52e5c;p=msp430-gcc.git diff --git a/gcc/testsuite/g++.old-deja/g++.brendan/crash17.C b/gcc/testsuite/g++.old-deja/g++.brendan/crash17.C deleted file mode 100644 index 70da8d50..00000000 --- a/gcc/testsuite/g++.old-deja/g++.brendan/crash17.C +++ /dev/null @@ -1,35 +0,0 @@ -// Build don't link: -// GROUPS passed old-abort -// -// This one creates -// -// gcc2: Internal compiler error: program cc1plus got fatal signal 11 -// -// when compiled with g++. -// The error goes away, if -// 1) int ClassInvariant() is not virtual or -// 2) GnObject has a virtual destructor or -// 3) GnWidget has no virtual destructor or -// 4) GnContracts has a virtual destructor -// - - -class GnContracts { - public: - virtual int ClassInvariant(); -// virtual ~GnContracts(); -}; - -class GnObject : public GnContracts { - public: -// virtual ~GnObject(); -}; - -class GnWidget : public GnObject { - public: - virtual ~GnWidget(); -}; - -class GnOptionGroup : public GnObject, public GnWidget {// ERROR - warning -}; -