summaryrefslogtreecommitdiffstats
path: root/gcc/testsuite/gcc.c-torture/execute/complex-4.c
blob: 1c458d21fba9b992c67434e2b8f70fa19aaf7473 (plain)
1
2
3
4
5
6
7
8
9
main ()
{
  if ((__complex__ double) 0.0 != (__complex__ double) (-0.0))
    abort ();

  if (0.0 != -0.0)
    abort ();
  exit (0);
}
OpenPOWER on IntegriCloud