X-Git-Url: https://oss.titaniummirror.com/gitweb?a=blobdiff_plain;f=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.other%2Ftypename1.C;fp=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.other%2Ftypename1.C;h=0000000000000000000000000000000000000000;hb=6fed43773c9b0ce596dca5686f37ac3fc0fa11c0;hp=271fd57acbc90ebed75c98750e97bec9dcef09f8;hpb=27b11d56b743098deb193d510b337ba22dc52e5c;p=msp430-gcc.git diff --git a/gcc/testsuite/g++.old-deja/g++.other/typename1.C b/gcc/testsuite/g++.old-deja/g++.other/typename1.C deleted file mode 100644 index 271fd57a..00000000 --- a/gcc/testsuite/g++.old-deja/g++.other/typename1.C +++ /dev/null @@ -1,17 +0,0 @@ -// This code snippet should be rejected with -pedantic -// Based on a test case by Louidor Erez - -// Build don't link: -// Special g++ Options: -pedantic -Wno-deprecated - -template -class Vector { -public: - typedef T* iterator; -}; - -template -void f() -{ - Vector::iterator i = 0; // WARNING - missing typename -}