friend5.C: New test.

* g++.old-deja/g++.other/friend5.C: New test.  bogus friend
	declaration causes ICE

From-SVN: r22993
This commit is contained in:
Alexandre Oliva 1998-10-11 19:23:16 +00:00 committed by Alexandre Oliva
parent 72b1c4daac
commit 5adc18d7cb
2 changed files with 14 additions and 0 deletions

View File

@ -1,3 +1,8 @@
1998-10-12 Alexandre Oliva <oliva@dcc.unicamp.br>
* g++.old-deja/g++.other/friend5.C: New test. bogus friend
declaration causes ICE
1998-10-11 Alexandre Oliva <oliva@dcc.unicamp.br>
* g++.old-deja/g++.ns/main1.C: New test. main() should only be

View File

@ -0,0 +1,9 @@
// Build don't link:
// submitted by David C Binderman <dcb@pncl.co.uk>
// crash test - XFAIL *-*-*
struct A {
friend bool();
};