summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/execute/950511-1.c
blob: 6584b0c86b6b5150f4fc432404dc3c0e934e230e (plain)
1
2
3
4
5
6
7
8
9
10
11
main ()
{
  unsigned long long xx;
  unsigned long long *x = (unsigned long long *) &xx;

  *x = -3;
  *x = *x * *x;
  if (*x != 9)
    abort ();
  exit (0);
}