X-Git-Url: https://oss.titaniummirror.com/gitweb?a=blobdiff_plain;f=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.pt%2Fexplicit17.C;fp=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.pt%2Fexplicit17.C;h=0000000000000000000000000000000000000000;hb=6fed43773c9b0ce596dca5686f37ac3fc0fa11c0;hp=4abd17e49391eace104258ec98daf0642be0e6d6;hpb=27b11d56b743098deb193d510b337ba22dc52e5c;p=msp430-gcc.git diff --git a/gcc/testsuite/g++.old-deja/g++.pt/explicit17.C b/gcc/testsuite/g++.old-deja/g++.pt/explicit17.C deleted file mode 100644 index 4abd17e4..00000000 --- a/gcc/testsuite/g++.old-deja/g++.pt/explicit17.C +++ /dev/null @@ -1,23 +0,0 @@ -// Build don't link: -// GROUPS passed templates -// Special g++ Options: -ansi -pedantic-errors -w -template -void foo(U u, T t); - -template -void foo(T t); - -template -struct S {}; - -template -void foo(const S&); - -void bar() -{ - void (*fn)(double, int) = - (void (*)(double, int)) &foo; - void (*fn2)(double) = foo; - foo(3, 3.0); - foo(S()); -}