aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.robertl/eb125.C
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.robertl/eb125.C')
-rw-r--r--gcc/testsuite/g++.old-deja/g++.robertl/eb125.C6
1 files changed, 4 insertions, 2 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.robertl/eb125.C b/gcc/testsuite/g++.old-deja/g++.robertl/eb125.C
index 5faa28087c8..aff6ae61007 100644
--- a/gcc/testsuite/g++.old-deja/g++.robertl/eb125.C
+++ b/gcc/testsuite/g++.old-deja/g++.robertl/eb125.C
@@ -1,3 +1,6 @@
+// This is a crash test; we don't care how many normal errors we get.
+// excess errors test - XFAIL *-*-*
+
struct test_box
{
void print(void);
@@ -17,5 +20,4 @@ template <class BOX> void test(BOX *the_box) // ERROR - semicolon missing
the_box->print();
};
-template void test<> (test_box *); // gets bogus error - test is declared XFAIL *-*-*
-
+template void test<> (test_box *);