From: Alexandre Oliva Date: Sun, 11 Oct 1998 19:23:16 +0000 (+0000) Subject: friend5.C: New test. X-Git-Tag: prereleases/libgcj-0.1~2607 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5adc18d7cb34da9b69e676fa14ba41797a66838d;p=thirdparty%2Fgcc.git friend5.C: New test. * g++.old-deja/g++.other/friend5.C: New test. bogus friend declaration causes ICE From-SVN: r22993 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index f421283a5e71..d3b17f21773e 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +1998-10-12 Alexandre Oliva + + * g++.old-deja/g++.other/friend5.C: New test. bogus friend + declaration causes ICE + 1998-10-11 Alexandre Oliva * g++.old-deja/g++.ns/main1.C: New test. main() should only be diff --git a/gcc/testsuite/g++.old-deja/g++.other/friend5.C b/gcc/testsuite/g++.old-deja/g++.other/friend5.C new file mode 100644 index 000000000000..dd005b1f33ff --- /dev/null +++ b/gcc/testsuite/g++.old-deja/g++.other/friend5.C @@ -0,0 +1,9 @@ +// Build don't link: + +// submitted by David C Binderman + +// crash test - XFAIL *-*-* + +struct A { + friend bool(); +};