OSDN Git Service

up
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 26 Oct 1998 12:00:51 +0000 (12:00 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 26 Oct 1998 12:00:51 +0000 (12:00 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@23354 138bc75d-0d04-0410-961f-82ee72b054a4

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 5502a00..a734fc4 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 3504650..1da7540 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 dd005b1..ab15fa5 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 5faa280..aff6ae6 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 *);