]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.other/dtor11.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.other / dtor11.C
diff --git a/gcc/testsuite/g++.old-deja/g++.other/dtor11.C b/gcc/testsuite/g++.old-deja/g++.other/dtor11.C
deleted file mode 100644 (file)
index ffb7c5a..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
-// Origin: Mark Mitchell <mark@codesourcery.com>
-
-extern "C" void abort ();
-
-int j;
-
-struct S {
-  S () { ++j; }
-  S (const S&) { ++j; }
-  ~S () {
-    if (--j < 0)
-      abort ();
-   }
-};
-
-struct T {
-  void g (S) {
-  };
-};
-
-struct U {
-  int i;
-  S s;
-};
-
-U u;
-
-U f () { return u; }
-
-int main ()
-{
-  T t;
-  t.g (f ().s);
-}