From f81c5bd5fc0d118c72f658f854750294f853772b Mon Sep 17 00:00:00 2001 From: oliva Date: Thu, 26 Nov 1998 20:57:42 +0000 Subject: [PATCH] added crash test git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@23915 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/testsuite/g++.old-deja/g++.other/lookup5.C | 4 +++- gcc/testsuite/g++.old-deja/g++.pt/friend37.C | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/gcc/testsuite/g++.old-deja/g++.other/lookup5.C b/gcc/testsuite/g++.old-deja/g++.other/lookup5.C index 3924dcb..9fe0415 100644 --- a/gcc/testsuite/g++.old-deja/g++.other/lookup5.C +++ b/gcc/testsuite/g++.old-deja/g++.other/lookup5.C @@ -1,9 +1,11 @@ // Build don't link: // Simplified from bug report by Paris Smaragdis +// crash test - XFAIL *-*-* + template class vector {}; class foo {}; int main() { foo f; - f.vector(); // gets bogus error - ICE - XFAIL *-*-* + f.vector(); // ERROR - not a method } diff --git a/gcc/testsuite/g++.old-deja/g++.pt/friend37.C b/gcc/testsuite/g++.old-deja/g++.pt/friend37.C index c61239c..2379d5f 100644 --- a/gcc/testsuite/g++.old-deja/g++.pt/friend37.C +++ b/gcc/testsuite/g++.old-deja/g++.pt/friend37.C @@ -1,6 +1,8 @@ // Build don't link: // Simplified from report by Volker Dobler +// crash test - XFAIL *-*-* + template class A { - friend int ice<>( int k=0 ); // gets bogus error - ICE - XFAIL *-*-* + friend int ice<>( int k=0 ); // ERROR - undeclared }; -- 2.7.4