summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/execute/921123-1.c
blob: d3daf120f0a4d911d612a48e402ac8f2cb5d5725 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
f(short *p)
{
  short x = *p;
  return (--x < 0);
}

main()
{
  short x = -10;
  if (!f(&x))
    abort();
  exit(0);
}