18ints2a(int a, CFStringRef fmt, ... )__attribute__((format(CFString,2,2))) ;/* { dg-error "format string argument follows the args to be formatted" } */
20ints3(const char*fmt, ... )__attribute__((format(__CFString__,1,2))) ;/* { dg-error "format argument should be a .CFString. reference but a string was found" } */
21ints4(CFStringRef fmt, ... )__attribute__((format(printf,1,2))) ;/* { dg-error "found a .CFStringRef.* but the format argument should be a string" } */
33printf("this one is checked %d %s",3,4,5);/* { dg-warning "format .%s. expects argument of type .char .., but argument 3 has type .int." } */
34/* { dg-warning "too many arguments for format" "" { target *-*-* } 33 } */
35printf(s5(1,"and so is this %d %d %s",3,4,"hey",6),5,6,12);/* { dg-warning "format .%s. expects argument of type .char .., but argument 4 has type .int." } */