]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.brendan/crash15.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.brendan / crash15.C
diff --git a/gcc/testsuite/g++.old-deja/g++.brendan/crash15.C b/gcc/testsuite/g++.old-deja/g++.brendan/crash15.C
deleted file mode 100644 (file)
index 953144a..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-// Build don't link: 
-// GROUPS passed old-abort
-#include <iostream>
-
-class A {
- public:
-  virtual ~A() {std::cout << "executed ~A()\n";};
-};
-
-class B : public A {
- public:
-  virtual ~B() {std::cout << "executed ~B()\n";};
-};
-
-int
-main() {
-  std::cout << "starting\n";
-  B b;
-  b.~A();// ERROR -  destructor
-  std::cout << "done\n";
-};
-