PR middle-end/85602 - -Wsizeof-pointer-memaccess for strncat with size of source
[official-gcc.git] / gcc / testsuite / gcc.dg / binop-notand6.c
blob040efc92d4e182640ddc0df761415ace2b2e8410
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fdump-tree-optimized" } */
4 int
5 foo (int a, int b)
7 return (a & !a) | (b & (b == 0));
10 /* { dg-final { scan-tree-dump-times "return 0" 1 "optimized" } } */