X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=gcc%2Ftestsuite%2Fg%2B%2B.dg%2Ftemplate%2Fqual1.C;fp=gcc%2Ftestsuite%2Fg%2B%2B.dg%2Ftemplate%2Fqual1.C;h=0000000000000000000000000000000000000000;hb=6fed43773c9b0ce596dca5686f37ac3fc0fa11c0;hp=3d512c1e1beae0fed9fae2dd490949585c3d9d84;hpb=27b11d56b743098deb193d510b337ba22dc52e5c;p=msp430-gcc.git diff --git a/gcc/testsuite/g++.dg/template/qual1.C b/gcc/testsuite/g++.dg/template/qual1.C deleted file mode 100644 index 3d512c1e..00000000 --- a/gcc/testsuite/g++.dg/template/qual1.C +++ /dev/null @@ -1,21 +0,0 @@ -// { dg-do compile } - -template -class Link_array -{ -public: - void sort (int (*compare) (T *const&,T *const&)); -}; - -int shift_compare (int *const &, int *const &) {}; - -template void -Link_array::sort (int (*compare) (T *const&,T *const&)) -{ -} - -void f () -{ - Link_array clashes; - clashes.sort (shift_compare); -}