summaryrefslogtreecommitdiffstats
path: root/gcc/testsuite/gcc.c-torture/execute/921207-1.c
blob: 5ee9d27cc2f5399ae992f363e75e22527dc1891d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
f()
{
  unsigned b = 0;

  if (b > ~0U)
    b = ~0U;

  return b;
}
main()
{
  if (f()!=0)
    abort();
  exit (0);
}
OpenPOWER on IntegriCloud