summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/execute/921218-2.c
blob: b5d57e9c3c8d10f3aa59bc2d9f07f707edbfbce8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
f()
{
  long l2;
  unsigned short us;
  unsigned long ul;
  short s2;

  ul = us = l2 = s2 = -1;
  return ul;
}

main()
{
  if (f()!=(unsigned short)-1)
    abort();
  exit(0);
}