]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.oliva/delete4.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.oliva / delete4.C
diff --git a/gcc/testsuite/g++.old-deja/g++.oliva/delete4.C b/gcc/testsuite/g++.old-deja/g++.oliva/delete4.C
deleted file mode 100644 (file)
index 18ce2d3..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-// Copyright (C) 1999 Free Software Foundation
-
-// by Alexandre Oliva <oliva@lsd.ic.unicamp.br>
-
-// Test whether dtors of vbases are called from dtor of aggregate of array.
-// Variant of delete2.C and delete3.C.
-
-extern "C" void abort();
-extern "C" void exit(int);
-
-struct Foo {
-  ~Foo() {
-    exit(0);
-  }
-};
-
-struct Bar : virtual Foo {
-};
-
-struct Baz {
-  Bar i[1];
-};
-
-int main() {
-  Baz();
-  abort();
-}
-
-