X-Git-Url: https://oss.titaniummirror.com/gitweb?a=blobdiff_plain;f=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.other%2Fdtor5.C;fp=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.other%2Fdtor5.C;h=0000000000000000000000000000000000000000;hb=6fed43773c9b0ce596dca5686f37ac3fc0fa11c0;hp=ab37e39f9f837e431fba22da50c26e298f78a277;hpb=27b11d56b743098deb193d510b337ba22dc52e5c;p=msp430-gcc.git diff --git a/gcc/testsuite/g++.old-deja/g++.other/dtor5.C b/gcc/testsuite/g++.old-deja/g++.other/dtor5.C deleted file mode 100644 index ab37e39f..00000000 --- a/gcc/testsuite/g++.old-deja/g++.other/dtor5.C +++ /dev/null @@ -1,36 +0,0 @@ -// Origin: Mark Mitchell - -extern "C" void abort (); - -struct B; - -struct S -{ - S (B*); - ~S (); - - B* b_; -}; - -struct B -{ - B () : s (this) { } - - virtual void f () { } - - S s; -}; - -S::S (B* b) : b_ (b) { } - -S::~S () { b_->f (); } - -struct D : public B -{ - virtual void f () { abort (); } -}; - -int main () -{ - D d; -}