blob: 8800454b034abd8c1b47c63838a264ab5b20a7f8 [file] [log] [blame]
/* Test diagnostics for options used on their own without
-Wformat. -Wformat-extra-args. */
/* Origin: Joseph Myers <joseph@codesourcery.com> */
/* { dg-do compile } */
/* { dg-options "-Wformat-extra-args" } */
/* { dg-warning "'-Wformat-extra-args' ignored without '-Wformat'" "ignored" { target *-*-* } 0 } */