]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.oliva/delete5.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.oliva / delete5.C
diff --git a/gcc/testsuite/g++.old-deja/g++.oliva/delete5.C b/gcc/testsuite/g++.old-deja/g++.oliva/delete5.C
deleted file mode 100644 (file)
index afeb153..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 auto array.
-// Variant of delete2.C, delete3.C and delete4.C.
-
-extern "C" void abort();
-extern "C" void exit(int);
-
-struct Foo {
-  ~Foo() {
-    exit(0);
-  }
-};
-
-struct Bar : virtual Foo {
-};
-
-void foo() {
-  Bar i[1];
-}
-
-int main() {
-  foo();
-  abort();
-}
-
-