// 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
// 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
-// 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
};
+// 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);
the_box->print();
};
-template void test<> (test_box *); // gets bogus error - test is declared XFAIL *-*-*
-
+template void test<> (test_box *);