view gcc/testsuite/gcc.dg/Wall.c @ 118:fd00160c1b76

ifdef TARGET_64BIT
author mir3636
date Tue, 27 Feb 2018 15:01:35 +0900
parents 04ced10e8804
children
line wrap: on
line source

/* PR 30437: Test -Wall 
   Don't change this without changing Wno-all.c as well.  */
/* { dg-do compile } */
/* { dg-options "-Wall" } */

void foo(int a)
{
  5 * (a == 1) | (a == 2);  /* { dg-warning "no effect" "no effect" } */
}