summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/pr28322-3.c
blob: 7a5a4c5790175278410ae6377d56756b85e05e6d (plain)
1
2
3
4
5
6
7
8
9
10
/* PR28322: ignore unknown -Wno-* if no warning is emitted.  */
/* { dg-do compile } */
/* { dg-options " -fno-foobar -mno-foobar" } */

void foo(void)
{
  int i =  1;
}
/* { dg-message "unrecognized command line option .-fno-foobar." "" { target *-*-* } 0 } */
/* { dg-message "unrecognized command line option .-mno-foobar." "" { target *-*-* } 0 } */