diff options
author | oliva <oliva@138bc75d-0d04-0410-961f-82ee72b054a4> | 1998-11-26 20:57:42 +0000 |
---|---|---|
committer | oliva <oliva@138bc75d-0d04-0410-961f-82ee72b054a4> | 1998-11-26 20:57:42 +0000 |
commit | f81c5bd5fc0d118c72f658f854750294f853772b (patch) | |
tree | af4607c740323ccf4a62ae330dc9a9518ece4345 /gcc | |
parent | b4143a48c3351a98a2ae8675ac6c124a34bc0fce (diff) | |
download | gcc-f81c5bd5fc0d118c72f658f854750294f853772b.tar.gz |
added crash test
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@23915 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/g++.old-deja/g++.other/lookup5.C | 4 | ||||
-rw-r--r-- | 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 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 <paris@media.mit.edu> +// crash test - XFAIL *-*-* + template <class T> 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 <volker@hugo.physik.uni-konstanz.de> +// crash test - XFAIL *-*-* + template <class T> class A { - friend int ice<>( int k=0 ); // gets bogus error - ICE - XFAIL *-*-* + friend int ice<>( int k=0 ); // ERROR - undeclared }; |