summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.jason/temporary6.C
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.jason/temporary6.C')
-rw-r--r--gcc/testsuite/g++.old-deja/g++.jason/temporary6.C8
1 files changed, 0 insertions, 8 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.jason/temporary6.C b/gcc/testsuite/g++.old-deja/g++.jason/temporary6.C
deleted file mode 100644
index ce6a92e586a..00000000000
--- a/gcc/testsuite/g++.old-deja/g++.jason/temporary6.C
+++ /dev/null
@@ -1,8 +0,0 @@
-// Bug: the temporary from the default parameter to f2 is reused.
-// Build don't link:
-
-struct A {};
-int f2 (int i, const A& ar = A());
-void f (int i, int j = f2(1));
-void g () { f (1); }
-void h () { f (1); }