X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.ext%2Fattrib3.C;fp=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.ext%2Fattrib3.C;h=0000000000000000000000000000000000000000;hb=6fed43773c9b0ce596dca5686f37ac3fc0fa11c0;hp=18b16530bc38db13358d10fe252deb1f26272431;hpb=27b11d56b743098deb193d510b337ba22dc52e5c;p=msp430-gcc.git diff --git a/gcc/testsuite/g++.old-deja/g++.ext/attrib3.C b/gcc/testsuite/g++.old-deja/g++.ext/attrib3.C deleted file mode 100644 index 18b16530..00000000 --- a/gcc/testsuite/g++.old-deja/g++.ext/attrib3.C +++ /dev/null @@ -1,20 +0,0 @@ -// Test for proper handling of attributes in template instantiation. -// Contributed by Jason Merrill -// Skip if not target: i?86-*-* - -template -struct A { - static void f () __attribute__ ((stdcall)); -}; - -template void -A::f () { } - -void g (void (__attribute__ ((stdcall)) *p)()) { } -void g (int); - -int -main () -{ - g (&A::f); -}