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

void foo(void)
{
  int i =  1/0;
}