summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/pr22329.c
blob: 94e32d69593e3b7e61597b395677cd5ff2c03f64 (plain)
1
2
3
4
5
6
7
8
9
/* { dg-do compile } */
/* { dg-options "-O2" } */
int f(int i)
{
  int k = 0;
  if (i == 0)
    k = i == 0;
  return k;
}