up
authorJason Merrill <jason@gcc.gnu.org>
Mon, 26 Oct 1998 12:00:51 +0000 (07:00 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Mon, 26 Oct 1998 12:00:51 +0000 (07:00 -0500)
From-SVN: r23354

gcc/testsuite/g++.old-deja/g++.law/friend4.C
gcc/testsuite/g++.old-deja/g++.other/decl2.C
gcc/testsuite/g++.old-deja/g++.other/friend5.C
gcc/testsuite/g++.old-deja/g++.robertl/eb125.C

index 5502a002dc514e76ffd960d99f52f19f3dfba220..a734fc419dfd43bf43cc9511d3ff87e63e3cf56c 100644 (file)
@@ -1,6 +1,5 @@
 // Build don't link: 
 // GROUPS passed friends
-// excess errors test - XFAIL *-*-*
 // friends file
 // From: osinski@cs.nyu.edu (Ed Osinski)
 // Date:     Fri, 05 Jun 92 20:47:37 -0400
index 35046504fb47cec97f4806f97d7826ea4fd7dc3c..1da75406d9f4328e4a9f78c3e71b68afea457fc6 100644 (file)
@@ -1,8 +1,6 @@
 // Build don't link:
 // Based on a test-case by Maciej Radziejewski <maciejr@iws.uni-stuttgart.de>
 
-// crash test - XFAIL *-*-*
-
 int i(0)(1); // ERROR - multiple initialization
 int j(2) = 3; // ERROR - multiple initialization
 int k(4)(5)(6); // ERROR - multiple initialization
index dd005b1f33ffa1333fd4df207eacdd892511d146..ab15fa58c5b0fa9438abf204dc27fe3f26d0d16a 100644 (file)
@@ -1,9 +1,5 @@
-// Build don't link:
-
 // submitted by David C Binderman <dcb@pncl.co.uk>
 
-// crash test - XFAIL *-*-*
-
 struct A {
-       friend bool();
+       friend bool();          // ERROR - invalid declaration
 };
index 5faa28087c8469049bc3f30574166d83ee086fd2..aff6ae610074a3c481770444c29c46ad75b78c72 100644 (file)
@@ -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 *);