aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/torture/pr79536.c
blob: 6f05ca7d1349b0bd59df296ed8faf8be174526f0 (plain)
1
2
3
4
5
6
7
8
9
10
/* { dg-do compile } */

typedef int A;
int
fn1 (A x, A y)
{
  if ((x + (x - y) * 1i) != -(-x + (y - x) * 1i))
    return 1;
  return 0;
}