Commit 2e15faa2 by Jason Merrill

up

From-SVN: r23354
parent 1eb0072d
// 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);
......@@ -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 *);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment