PR tree-optimization/81303
[official-gcc.git] / gcc / testsuite / gcc.dg / pr3074-1.c
blob4716b79da960a3e2d673197a634d1ad7a31d9108
1 /* PR middle-end/3074 */
2 /* { dg-do compile } */
3 /* { dg-options "-Wall" } */
5 void foo(int a)
7 5 * (a == 1) | (a == 2); /* { dg-warning "no effect" "no effect" } */