diff options
Diffstat (limited to 'gcc/testsuite/gcc.dg/Wall.c')
-rw-r--r-- | gcc/testsuite/gcc.dg/Wall.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/testsuite/gcc.dg/Wall.c b/gcc/testsuite/gcc.dg/Wall.c index 86a359b49cd..89848471780 100644 --- a/gcc/testsuite/gcc.dg/Wall.c +++ b/gcc/testsuite/gcc.dg/Wall.c @@ -3,8 +3,7 @@ /* { dg-do compile } */ /* { dg-options "-Wall" } */ -void foo() +void foo(int a) { - int a; 5 * (a == 1) | (a == 2); /* { dg-warning "no effect" "no effect" } */ } |