mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-02-07 02:49:33 +08:00
up
From-SVN: r23354
This commit is contained in:
parent
1eb0072d90
commit
2e15faa2e8
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
};
|
||||
|
@ -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 *);
|
||||
|
Loading…
Reference in New Issue
Block a user