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" } */
6
7/* { dg-warning "-Wformat-contains-nul ignored without -Wformat" "ignored" { target *-*-* } 0 } */
8