This commit was manufactured by cvs2svn to create branch 'gomp-branch'.
[official-gcc.git] / gcc / testsuite / gcc.dg / format / opt-2.c
blob5a8f70375d7238419c701837a825649ab25c3b3a
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" } */
7 /* { dg-warning "warning: -Wformat-nonliteral ignored without -Wformat" "ignored" { target *-*-* } 0 } */