X-Git-Url: https://oss.titaniummirror.com/gitweb?a=blobdiff_plain;f=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.pt%2Fexplarg1.C;fp=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.pt%2Fexplarg1.C;h=0000000000000000000000000000000000000000;hb=6fed43773c9b0ce596dca5686f37ac3fc0fa11c0;hp=4a1c66b65de2804d05a7abab67d60d14bd7da1d6;hpb=27b11d56b743098deb193d510b337ba22dc52e5c;p=msp430-gcc.git diff --git a/gcc/testsuite/g++.old-deja/g++.pt/explarg1.C b/gcc/testsuite/g++.old-deja/g++.pt/explarg1.C deleted file mode 100644 index 4a1c66b6..00000000 --- a/gcc/testsuite/g++.old-deja/g++.pt/explarg1.C +++ /dev/null @@ -1,21 +0,0 @@ -// Bug: g++ generates an error trying to generate the first foo, when -// it should silently fail and go on to the next one. - -template class A { }; - -template void -foo(const A&); - -template -class B { }; - -template void -foo(B const &) { } - -int -main(void) -{ - B sa; - - foo (sa); -}