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

extern void abort ();

long long xh = 1;

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

  if (z != yh)
    abort ();

  return 0;
}