X-Git-Url: https://oss.titaniummirror.com/gitweb?a=blobdiff_plain;f=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.pt%2Fcrash6.C;fp=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.pt%2Fcrash6.C;h=0000000000000000000000000000000000000000;hb=6fed43773c9b0ce596dca5686f37ac3fc0fa11c0;hp=09e8df07973ebb8a1a2a4285c6e8ca98a7999595;hpb=27b11d56b743098deb193d510b337ba22dc52e5c;p=msp430-gcc.git diff --git a/gcc/testsuite/g++.old-deja/g++.pt/crash6.C b/gcc/testsuite/g++.old-deja/g++.pt/crash6.C deleted file mode 100644 index 09e8df07..00000000 --- a/gcc/testsuite/g++.old-deja/g++.pt/crash6.C +++ /dev/null @@ -1,23 +0,0 @@ -// Build don't link: - -template class List; - -template -struct ListIterator -{ - ListIterator (); - ListIterator (const ListIterator& rhs); -}; - -template -struct List -{ - void length () const { - for (ListIterator li; li; ); // ERROR - used where a `bool' - } -}; - -void test(List& vals) -{ - vals.length(); // ERROR - instantiated from here -}