summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/torture/pr37731-1.c
blob: 5c156b1f9a62dbe2fcad03e743ade8d628779998 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/* { dg-do run } */

extern void abort ();

unsigned long long xh = 1;

int
main ()
{
  unsigned long long yh = 0xffffffffull;
  unsigned long long z = xh * yh;

  if (z != yh)
    abort ();

  return 0;
}