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