X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.pt%2Fexplicit78.C;fp=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.pt%2Fexplicit78.C;h=0000000000000000000000000000000000000000;hb=6fed43773c9b0ce596dca5686f37ac3fc0fa11c0;hp=2375816af87cdd33801b0065c60e5a7f8b0160d8;hpb=27b11d56b743098deb193d510b337ba22dc52e5c;p=msp430-gcc.git diff --git a/gcc/testsuite/g++.old-deja/g++.pt/explicit78.C b/gcc/testsuite/g++.old-deja/g++.pt/explicit78.C deleted file mode 100644 index 2375816a..00000000 --- a/gcc/testsuite/g++.old-deja/g++.pt/explicit78.C +++ /dev/null @@ -1,28 +0,0 @@ -// Build don't link: - -template -struct A { -}; - -template -struct B { - operator A<3> (); - operator B<3, 7> (); -}; - - -template -void f(B); - -template -void f(A) -{ -} - -int main() -{ - // Deduction fails with the first `f'. Since `3' is explicitly - // specified, we don't try any deduction with the second `f'. So, - // we call the second `f'. - f<3>(B<2, 7>()); -}