]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.other/vbase2.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.other / vbase2.C
diff --git a/gcc/testsuite/g++.old-deja/g++.other/vbase2.C b/gcc/testsuite/g++.old-deja/g++.other/vbase2.C
deleted file mode 100644 (file)
index 2f15249..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-// Origin: Mark Mitchell <mark@codesourcery.com>
-
-int i;
-
-struct A
-{
-  ~A ();
-};
-
-A::~A () {
-  i = 1;
-}
-
-struct B : virtual public A {
-};
-
-struct C {
-  C ();
-
-  B b;
-};
-
-C::C () {
-  throw 3;
-}
-
-int main () 
-{
-  try { 
-    C c;
-  } catch (...) {
-  }
-
-  if (i != 1)
-    return 1;
-}