X-Git-Url: https://oss.titaniummirror.com/gitweb?a=blobdiff_plain;f=gcc%2Ftestsuite%2Fg%2B%2B.dg%2Fext%2Fattrib1.C;fp=gcc%2Ftestsuite%2Fg%2B%2B.dg%2Fext%2Fattrib1.C;h=0000000000000000000000000000000000000000;hb=6fed43773c9b0ce596dca5686f37ac3fc0fa11c0;hp=2bd69e82a541af3217a6f49f5038354c22669294;hpb=27b11d56b743098deb193d510b337ba22dc52e5c;p=msp430-gcc.git diff --git a/gcc/testsuite/g++.dg/ext/attrib1.C b/gcc/testsuite/g++.dg/ext/attrib1.C deleted file mode 100644 index 2bd69e82..00000000 --- a/gcc/testsuite/g++.dg/ext/attrib1.C +++ /dev/null @@ -1,10 +0,0 @@ -// Test for interpretation of attribute immediately before function name. -// Origin: Joseph Myers -// { dg-do compile } - -// An attribute immediately before the function name should in this -// case properly apply to the return type, but compatibility with -// existing code using this form requires it to apply to the function -// type instead in the case of attributes applying to function types, -// and to the declaration in the case of attributes applying to declarations. -int ****__attribute__((format(printf, 1, 2))) foo(const char *, ...);