summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/pr22335-1.c
blob: a2a760bfc964d5c48d6255b993aae9e6651f00bf (plain)
1
2
3
4
5
6
7
8
9
10
/* { dg-do compile } */
/* { dg-options "-O1 -fdelete-null-pointer-checks"  } */
int t(int *a)
{
  int i;
  *a = 1;
  i = a == 0;
  return i;
}