summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/execute/20020911-1.c
blob: ec8302211c04d93c401593bbba8dd9f304c342d7 (plain)
1
2
3
4
5
6
7
8
extern void abort (void);
unsigned short c = 0x8000;
int main()
{
  if ((c-0x8000) < 0 || (c-0x8000) > 0x7fff)
    abort();
  return 0;
}