summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/execute/pr33779-1.c
blob: da08e013a05f83af9e9cb46df79913b33b7c407c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
int foo(int i)
{
  if (((unsigned)(i + 1)) * 4 == 0)
    return 1;
  return 0;
}

extern void abort(void);
int main()
{
  if (foo(0x3fffffff) == 0)
    abort ();
  return 0;
}