2008-01-25 Douglas Gregor <doug.gregor@gmail.com>
[official-gcc.git] / gcc / testsuite / gcc.dg / Wno-all.c
blob3275eb6cd5011a93c7ebf62a89102ef826147d9b
1 /* PR 30437: Test negative of -Wall
2 Don't change this without changing Wall.c as well. */
3 /* { dg-do compile } */
4 /* { dg-options "-Wall -Wno-all" } */
6 void foo()
8 int a;
9 5 * (a == 1) | (a == 2); /* { dg-bogus "no effect" "no effect" } */