1 /* Test for format diagnostics. Proper type names (bug 1027). */
2 /* Origin: Joseph Myers <jsm@polyomino.org.uk> */
3 /* { dg-do compile } */
4 /* { dg-options "-std=gnu99 -Wformat" } */
11 printf ("%s", &d
); /* { dg-warning "char \\*" "correct arg type" } */
12 scanf ("%zu", &d
); /* { dg-warning "size_t \\*" "correct arg type" } */