diff options
author | Alexandre Oliva <oliva@dcc.unicamp.br> | 1998-10-11 19:23:16 +0000 |
---|---|---|
committer | Alexandre Oliva <oliva@gcc.gnu.org> | 1998-10-11 19:23:16 +0000 |
commit | 5adc18d7cb34da9b69e676fa14ba41797a66838d (patch) | |
tree | 46c6faa1ed3d00ecd23746ff352503cc33714c24 | |
parent | 72b1c4daac5e2d5df25f2d76e2f563c1b46ddb9d (diff) | |
download | gcc-5adc18d7cb34da9b69e676fa14ba41797a66838d.zip gcc-5adc18d7cb34da9b69e676fa14ba41797a66838d.tar.gz gcc-5adc18d7cb34da9b69e676fa14ba41797a66838d.tar.bz2 |
friend5.C: New test.
* g++.old-deja/g++.other/friend5.C: New test. bogus friend
declaration causes ICE
From-SVN: r22993
-rw-r--r-- | gcc/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/testsuite/g++.old-deja/g++.other/friend5.C | 9 |
2 files changed, 14 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index f421283..d3b17f2 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -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 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 0000000..dd005b1 --- /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 <dcb@pncl.co.uk> + +// crash test - XFAIL *-*-* + +struct A { + friend bool(); +}; |