From-SVN: r23354
This commit is contained in:
Jason Merrill 1998-10-26 07:00:51 -05:00
parent 1eb0072d90
commit 2e15faa2e8
4 changed files with 5 additions and 10 deletions

View 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

View 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

View 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
};

View 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 *);