diff --git a/gcc/testsuite/g++.old-deja/g++.other/lookup5.C b/gcc/testsuite/g++.old-deja/g++.other/lookup5.C index 3924dcbd407..9fe04151142 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 c61239c86ac..2379d5f1da7 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 };