summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/execute/pr49186.c
blob: 743815b98026748780d1cad93ba6ca8fb2006ab9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* PR target/49186 */
extern void abort (void);

int
main ()
{
  int x;
  unsigned long long uv = 0x1000000001ULL;

  x = (uv < 0x80) ? 1 : ((uv < 0x800) ? 2 : 3);
  if (x != 3)
    abort ();

  return 0;
}