2016-12-21 Vladimir Makarov <vmakarov@redhat.com>
[official-gcc.git] / gcc / testsuite / gcc.dg / pr32061.c
blobdc1a916f1bbd19f5c4d39ec8e452da99d25ad64f
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)
9 return (resp && (FORCE || (FLAG & flags)));