]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.other/dtor8.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.other / dtor8.C
diff --git a/gcc/testsuite/g++.old-deja/g++.other/dtor8.C b/gcc/testsuite/g++.old-deja/g++.other/dtor8.C
deleted file mode 100644 (file)
index 2b166e2..0000000
+++ /dev/null
@@ -1,38 +0,0 @@
-// Special g++ Options: -O1
-// Origin: Mark Mitchell <mark@codesourcery.com>
-
-int result;
-
-struct S
-{
-  S ();
-  S (const S&);
-  ~S ();
-  
-  int i;
-  double d[18];
-};
-
-S* s;
-
-S::S ()
-{
-  s = this;
-}
-
-S::~S ()
-{
-  if (s != this)
-    result = 1;
-}
-
-inline S f ()
-{
-  return S ();
-}
-
-int main ()
-{
-  f ();
-  return result;
-}