From ba206184af1d286052352ff5da7e69bf8e4fd0c4 Mon Sep 17 00:00:00 2001 From: oliva Date: Wed, 25 Nov 1998 18:07:33 +0000 Subject: [PATCH] * g++.old-deja/g++.pt/friend37.C: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@23875 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/testsuite/ChangeLog | 4 ++++ gcc/testsuite/g++.old-deja/g++.pt/friend37.C | 6 ++++++ 2 files changed, 10 insertions(+) create mode 100644 gcc/testsuite/g++.old-deja/g++.pt/friend37.C diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 73d2ca6..bed4a4c 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +1998-11-26 Alexandre Oliva + + * g++.old-deja/g++.pt/friend37.C: New test. + 1998-11-25 Dave Love * g77.f-torture/execute/u77-test.f (main): Avoid testing [f]statb diff --git a/gcc/testsuite/g++.old-deja/g++.pt/friend37.C b/gcc/testsuite/g++.old-deja/g++.pt/friend37.C new file mode 100644 index 0000000..c61239c --- /dev/null +++ b/gcc/testsuite/g++.old-deja/g++.pt/friend37.C @@ -0,0 +1,6 @@ +// Build don't link: +// Simplified from report by Volker Dobler + +template class A { + friend int ice<>( int k=0 ); // gets bogus error - ICE - XFAIL *-*-* +}; -- 2.7.4