2 /* { dg-do compile } */
3 /* { dg-options "-Wformat" } */
5 typedef void locus
[1]; /* { dg-error "array of void" } */
7 void foo(const char*, ...)
8 __attribute__((__format__(__gcc_gfc__
, 1, 2))); /* { dg-error "locus" } */
12 foo("%L", 0); /* { dg-warning "format" } */