]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.other/cleanup1.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.other / cleanup1.C
diff --git a/gcc/testsuite/g++.old-deja/g++.other/cleanup1.C b/gcc/testsuite/g++.old-deja/g++.other/cleanup1.C
deleted file mode 100644 (file)
index fd4dc6e..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-// Bug: fold is too eager about pushing down CLEANUP_POINT_EXPR.
-
-int d;
-
-struct A {
-  A() { }
-  ~A() { d = 1; }
-};
-
-int f (const A& a)
-{
-  return 1;
-}
-
-int main ()
-{
-  if (f (A()) && d == 0)
-    return 0;
-  return 1;
-}