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 } */