X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.pt%2Fttp10.C;fp=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.pt%2Fttp10.C;h=0000000000000000000000000000000000000000;hb=6fed43773c9b0ce596dca5686f37ac3fc0fa11c0;hp=ca0c9b636e1a98212ea85e68872b304eaf1603d1;hpb=27b11d56b743098deb193d510b337ba22dc52e5c;p=msp430-gcc.git diff --git a/gcc/testsuite/g++.old-deja/g++.pt/ttp10.C b/gcc/testsuite/g++.old-deja/g++.pt/ttp10.C deleted file mode 100644 index ca0c9b63..00000000 --- a/gcc/testsuite/g++.old-deja/g++.pt/ttp10.C +++ /dev/null @@ -1,30 +0,0 @@ -// Build don't link: - -template class D -{ - public: - int f(); -}; - -template int D::f() -{ - return sizeof(T); -} - -template class D,class E> class C -{ - D d; // ERROR - D is a template - public: - int f(); -}; - -template class D,class E> int C::f() -{ - return d.f(); // ERROR - d not properly declared -} - -int main() -{ - C c; - c.f(); -}