summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/execute/pr46019.c
blob: b0365576ac854ce04f0cbcd9decbd6d7dee5f61c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* PR middle-end/46019 */

extern void abort (void);

int
main (void)
{
  unsigned long long l = 0x40000000000ULL;
  int n;
  for (n = 0; n < 8; n++)
    if (l / (0x200000000ULL << n) != (0x200 >> n))
      abort ();
  return 0;
}