X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.pt%2Fttp26.C;fp=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.pt%2Fttp26.C;h=0000000000000000000000000000000000000000;hb=6fed43773c9b0ce596dca5686f37ac3fc0fa11c0;hp=6e6425e99ddabb420e2c3a67e92afb4ac2167fe5;hpb=27b11d56b743098deb193d510b337ba22dc52e5c;p=msp430-gcc.git diff --git a/gcc/testsuite/g++.old-deja/g++.pt/ttp26.C b/gcc/testsuite/g++.old-deja/g++.pt/ttp26.C deleted file mode 100644 index 6e6425e9..00000000 --- a/gcc/testsuite/g++.old-deja/g++.pt/ttp26.C +++ /dev/null @@ -1,33 +0,0 @@ -template class D -{ - public: - int f(); -}; - -template int D::f() -{ - return sizeof(T)+sizeof(U); -} - -template class D,class E> class C -{ - D d; - public: - int f() { return d.f(); } -}; - -template class D,class E> int f(D &d1) -{ - d1.f(); - C d2; - d2.f(); - return 0; -} - -int main() -{ - D c1; - D c2; - f(c1); - f(c2); -}