diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index f421283a5e7..d3b17f21773 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 00000000000..dd005b1f33f --- /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(); +};