blob: 29dedfae5782690f96a112f5e4b8f732945cf9b4 [file] [log] [blame]
/* Test diagnostics for options used on their own without
-Wformat. -Wformat-contains-nul. */
/* Origin: Bruce Korb <bkorb@gnu.org> */
/* { dg-do compile } */
/* { dg-options "-Wformat-contains-nul" } */
/* { dg-warning "-Wformat-contains-nul ignored without -Wformat" "ignored" { target *-*-* } 0 } */