@@ -18,7 +18,7 @@ int s2 (int a, CFStringRef fmt, ... ) __attribute__((format(__CFString__, 2, 3))
ints2a(inta,CFStringReffmt,...)__attribute__((format(CFString,2,2)));/* { dg-error "format string argument follows the args to be formatted" } */
ints3(constchar*fmt,...)__attribute__((format(__CFString__,1,2)));/* { dg-error "format argument should be a .CFString. reference but a string was found" } */
ints4(CFStringReffmt,...)__attribute__((format(printf,1,2)));/* { dg-error "found a .CFStringRef. but the format argument should be a string" } */
ints4(CFStringReffmt,...)__attribute__((format(printf,1,2)));/* { dg-error "found a .CFStringRef.* but the format argument should be a string" } */
char*s5(chardum,char*fmt1,...)__attribute__((format_arg(2)));/* OK */
CFStringRefs6(CFStringRefdum,CFStringReffmt1,...)__attribute__((format_arg(2)));/* OK */