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