1 /* Test diagnostics for options used on their own without
2    -Wformat.  -Wformat-nonliteral.  */
3 /* Origin: Joseph Myers <joseph@codesourcery.com> */
4 /* { dg-do compile } */
5 /* { dg-options "-Wformat-nonliteral" } */
6 
7 /* { dg-warning "'-Wformat-nonliteral' ignored without '-Wformat'" "ignored" { target *-*-* } 0 } */
8