summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/execute/921202-2.c
blob: 48d4a412d1bdb65dcff61198ec916fc8fed67a6a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
int
f(long long x)
{
  x >>= 8;
  return x & 0xff;
}

main()
{
  if (f(0x0123456789ABCDEFLL) != 0xCD)
    abort();
  exit (0);
}