1 /* Test diagnostics for options used on their own without
2 -Wformat. -Wformat-zero-length. */
3 /* Origin: Joseph Myers <joseph@codesourcery.com> */
4 /* { dg-do compile } */
5 /* { dg-options "-Wformat-zero-length" } */
7 /* { dg-warning "'-Wformat-zero-length' ignored without '-Wformat'" "ignored" { target *-*-* } 0 } */