X-Git-Url: https://oss.titaniummirror.com/gitweb?a=blobdiff_plain;f=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.pt%2Ftypename16.C;fp=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.pt%2Ftypename16.C;h=0000000000000000000000000000000000000000;hb=6fed43773c9b0ce596dca5686f37ac3fc0fa11c0;hp=225cc894a050440952339b5fe02ce31423e75068;hpb=27b11d56b743098deb193d510b337ba22dc52e5c;p=msp430-gcc.git diff --git a/gcc/testsuite/g++.old-deja/g++.pt/typename16.C b/gcc/testsuite/g++.old-deja/g++.pt/typename16.C deleted file mode 100644 index 225cc894..00000000 --- a/gcc/testsuite/g++.old-deja/g++.pt/typename16.C +++ /dev/null @@ -1,31 +0,0 @@ -// Build don't run: -// Special g++ Options: -Wno-deprecated - -struct B { - typedef int I; -}; - -template -struct D1 : public B { -}; - -template -struct D2 : public D1 { - I i; // WARNING - implicit typename -}; - -template <> -struct D1 { - typedef double I; -}; - -template -void f(T); -template <> -void f(double) {} - -int main() -{ - D2 d2i; - f(d2i.i); -}