X-Git-Url: https://oss.titaniummirror.com/gitweb?a=blobdiff_plain;f=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.pt%2Flookup6.C;fp=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.pt%2Flookup6.C;h=0000000000000000000000000000000000000000;hb=6fed43773c9b0ce596dca5686f37ac3fc0fa11c0;hp=ae1f5ca2c5bdd2a563642010d1848d4fc51ac973;hpb=27b11d56b743098deb193d510b337ba22dc52e5c;p=msp430-gcc.git diff --git a/gcc/testsuite/g++.old-deja/g++.pt/lookup6.C b/gcc/testsuite/g++.old-deja/g++.pt/lookup6.C deleted file mode 100644 index ae1f5ca2..00000000 --- a/gcc/testsuite/g++.old-deja/g++.pt/lookup6.C +++ /dev/null @@ -1,15 +0,0 @@ -// Build don't link: - -// Based on bug report by Miniussi - -class t {}; - -template struct A { typedef T t; typedef T u; }; - -template struct B : public A { - // according to [temp.dep.type], `t' and `u' cannot be dependent types, - // and so there's no reason to delay lookup to specialization time. - void f(t p); // this is ::t [temp.dep]/3 - void f(typename A::t p); // gets bogus error - redefinition - void g(u p); // ERROR - unknown type name -};