| 1 |
/* Test diagnostics for options used on their own without |
| 2 |
-Wformat. -Wformat-y2k. */ |
| 3 |
/* Origin: Joseph Myers <[email protected]> */ |
| 4 |
/* { dg-do compile } */ |
| 5 |
/* { dg-options "-Wformat-y2k" } */ |
| 6 |
|
| 7 |
/* { dg-warning "'-Wformat-y2k' ignored without '-Wformat'" "ignored" { target *-*-* } 0 } */ |