summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.other/cleanup1.C
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.other/cleanup1.C')
-rw-r--r--gcc/testsuite/g++.old-deja/g++.other/cleanup1.C20
1 files changed, 0 insertions, 20 deletions
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
index fd4dc6e4db0..00000000000
--- a/gcc/testsuite/g++.old-deja/g++.other/cleanup1.C
+++ /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;
-}