1 /* Test for strange warning in format checking. */
2 /* Origin: Joseph Myers <jsm28@cam.ac.uk> */
3 /* { dg-do compile } */
4 /* { dg-options "-Wformat" } */
11 printf ("%d", p
); /* { dg-bogus "va_list" "wrong type in format warning" } */
12 /* { dg-warning "format" "format error" { target *-*-* } 11 } */