Update concepts branch to revision 131834
[official-gcc.git] / gcc / testsuite / gcc.dg / format / opt-6.c
blob29dedfae5782690f96a112f5e4b8f732945cf9b4
1 /* Test diagnostics for options used on their own without
2 -Wformat. -Wformat-contains-nul. */
3 /* Origin: Bruce Korb <bkorb@gnu.org> */
4 /* { dg-do compile } */
5 /* { dg-options "-Wformat-contains-nul" } */
7 /* { dg-warning "-Wformat-contains-nul ignored without -Wformat" "ignored" { target *-*-* } 0 } */