X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.pt%2Fttp43.C;fp=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.pt%2Fttp43.C;h=0000000000000000000000000000000000000000;hb=6fed43773c9b0ce596dca5686f37ac3fc0fa11c0;hp=a020655b1311e0b23c6570360fd998bc8f07a668;hpb=27b11d56b743098deb193d510b337ba22dc52e5c;p=msp430-gcc.git diff --git a/gcc/testsuite/g++.old-deja/g++.pt/ttp43.C b/gcc/testsuite/g++.old-deja/g++.pt/ttp43.C deleted file mode 100644 index a020655b..00000000 --- a/gcc/testsuite/g++.old-deja/g++.pt/ttp43.C +++ /dev/null @@ -1,30 +0,0 @@ -// Build don't link: - -template < class T, template class E1, template class E2 > -struct Add { - Add(const E1& e1, const E2& e2) {} -}; - - -template < class T, template class E1, template class E2 > -struct Mul { - Mul(const E1& e1, const E2& e2) {} -}; - - -template < class T > -struct Lit { - Lit(const T& t) {} -}; - - -template < class T > -struct Id { - Add < T, Id, Lit > operator+(const T& t) const { - return Add < T, Id, Lit >(*this, Lit(t)); - } - - Mul < T, Id, Lit > operator*(const T& t) const { - return Mul < T, Id, Lit >(*this, Lit(t)); - } -};