blob: 29dedfae5782690f96a112f5e4b8f732945cf9b4 (
plain)
1
2
3
4
5
6
7
|
/* 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 } */
|