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

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