Require target lra in gcc.dg/pr108095.c
[official-gcc.git] / gcc / testsuite / gcc.dg / pr28322-2.c
blob20adf5e92b87ffe26a12b63543d27b4c9195762b
1 /* PR28322: ignore unknown -Wno-* if no warning is emitted. */
2 /* { dg-do compile } */
3 /* { dg-options "-Wall -Wextra -Wno-foobar" } */
5 int foo (void)
7 int i = 1/0; /* { dg-warning "division by zero" } */
8 return i;
11 /* { dg-message "unrecognized command-line option .-Wno-foobar." "" { target *-*-* } 0 } */