1// { dg-do assemble } 2// { dg-options "-Wall" } 3 4struct a 5{ 6 void x(char *f,...) __attribute__((format(printf,2,3))); 7}; 8 9int main() 10{ 11 a A; 12 A.x("%d"); // { dg-warning "" } too few arguments for format 13 return 0; 14} 15