Sync usage with man page.
[netbsd-mini2440.git] / gnu / dist / gcc4 / gcc / testsuite / gcc.dg / format / opt-1.c
blob7bdb55bf666dfb1c2b094e8765a9f26e77d453b7
1 /* Test diagnostics for options used on their own without
2 -Wformat. -Wformat-extra-args. */
3 /* Origin: Joseph Myers <joseph@codesourcery.com> */
4 /* { dg-do compile } */
5 /* { dg-options "-Wformat-extra-args" } */
7 /* { dg-warning "warning: -Wformat-extra-args ignored without -Wformat" "ignored" { target *-*-* } 0 } */