]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.other/dtor5.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.other / dtor5.C
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 (file)
index ab37e39..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-// Origin: Mark Mitchell <mark@codesourcery.com>
-
-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;
-}