X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.pt%2Fttp30.C;fp=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.pt%2Fttp30.C;h=0000000000000000000000000000000000000000;hb=6fed43773c9b0ce596dca5686f37ac3fc0fa11c0;hp=c47b15758ada1a0c0d392babe9ef83873e8976e2;hpb=27b11d56b743098deb193d510b337ba22dc52e5c;p=msp430-gcc.git diff --git a/gcc/testsuite/g++.old-deja/g++.pt/ttp30.C b/gcc/testsuite/g++.old-deja/g++.pt/ttp30.C deleted file mode 100644 index c47b1575..00000000 --- a/gcc/testsuite/g++.old-deja/g++.pt/ttp30.C +++ /dev/null @@ -1,37 +0,0 @@ -template class D -{ - public: - int f(); -}; - -template int D::f() -{ - return sizeof(T); -} - -extern "C" void abort(); - -template class D,class E> class C -{ - D d; - public: - int f() { abort(); return 0; } -}; - -template class C -{ - D d; - public: - int f(); -}; - -template int C::f() -{ - return d.f(); -} - -int main() -{ - C c; - c.f(); -}