* g++.old-deja/g++.other/friend5.C: New test. bogus friend
authoroliva <oliva@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 11 Oct 1998 19:23:16 +0000 (19:23 +0000)
committeroliva <oliva@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 11 Oct 1998 19:23:16 +0000 (19:23 +0000)
declaration causes ICE

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22993 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/testsuite/ChangeLog
gcc/testsuite/g++.old-deja/g++.other/friend5.C [new file with mode: 0644]

index f421283..d3b17f2 100644 (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
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 (file)
index 0000000..dd005b1
--- /dev/null
@@ -0,0 +1,9 @@
+// Build don't link:
+
+// submitted by David C Binderman <dcb@pncl.co.uk>
+
+// crash test - XFAIL *-*-*
+
+struct A {
+       friend bool();
+};