X-Git-Url: https://oss.titaniummirror.com/gitweb?a=blobdiff_plain;f=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.pt%2Fexplicit53.C;fp=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.pt%2Fexplicit53.C;h=0000000000000000000000000000000000000000;hb=6fed43773c9b0ce596dca5686f37ac3fc0fa11c0;hp=e66cca99d5c0a7ac703414bf33fc60be7a73dd56;hpb=27b11d56b743098deb193d510b337ba22dc52e5c;p=msp430-gcc.git diff --git a/gcc/testsuite/g++.old-deja/g++.pt/explicit53.C b/gcc/testsuite/g++.old-deja/g++.pt/explicit53.C deleted file mode 100644 index e66cca99..00000000 --- a/gcc/testsuite/g++.old-deja/g++.pt/explicit53.C +++ /dev/null @@ -1,21 +0,0 @@ -extern "C" void abort (); - -template inline int fact (); -template <> inline int fact<1> (); - -template inline int fact () -{ - return a * fact (); -} - -template <> inline int fact<1> () -{ - return 1; -} - -int main() -{ - if (fact<3> () != 6 || fact<1> () != 1 - || fact<3> () != 6 || fact<1> () != 1 || fact<1+0> () != 1) - abort (); -}