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