aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.jason/ambig3.C
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.jason/ambig3.C')
-rw-r--r--gcc/testsuite/g++.old-deja/g++.jason/ambig3.C16
1 files changed, 0 insertions, 16 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.jason/ambig3.C b/gcc/testsuite/g++.old-deja/g++.jason/ambig3.C
deleted file mode 100644
index 3f01660bf98..00000000000
--- a/gcc/testsuite/g++.old-deja/g++.jason/ambig3.C
+++ /dev/null
@@ -1,16 +0,0 @@
-// Testcase for ambiguity between function and variable declaration (8.2).
-// Build don't link:
-
-struct A {
- A (int, int);
- int k;
-};
-
-void f ()
-{
- int i[2], j;
- A a (int (i[1]), j); // gets bogus error - late parsing XFAIL *-*-*
- A b (int (i[1]), int j); // function
- a.k = 0; // gets bogus error - late parsing XFAIL *-*-*
- b (i, j);
-}