blob: 6cabd8186f56a6c85d0d6d50aeba2e71dcb76776 [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 } */