Debian Codegraph @

gcc/testsuite/gcc.dg/pr32061.c

raw
1 /* PR c/32061
2 { dg-do compile }
3 { dg-options "-Wlogical-op -Wall -Wextra" }
4 */
5 #define FORCE 1
6 #define FLAG 1
7 int func (int resp, int flags)
8 {
9 return (resp && (FORCE || (FLAG & flags)));
10 }