2017-12-05 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.dg / pr28322-3.c
blobe714a3cc6f7697e84aba47a2cd3a64c6618b2d6e
1 /* PR28322: ignore unknown -Wno-* if no warning is emitted. */
2 /* { dg-do compile } */
3 /* { dg-options " -fno-foobar -mno-foobar" } */
5 void foo(void)
7 int i = 1;
9 /* { dg-message "unrecognized command line option .-fno-foobar." "f" { target *-*-* } 0 } */
10 /* { dg-message "unrecognized command line option .-mno-foobar." "m" { target *-*-* } 0 } */