8sa1-gcc/gcc/testsuite/gcc.c-torture/execute/930614-1.c
Jeff Law 921e5a0eb4 Initial revision
From-SVN: r14840
1997-08-19 01:34:40 -06:00

20 lines
198 B
C

f (double *ty)
{
*ty = -1.0;
}
main ()
{
double foo[6];
double tx = 0.0, ty, d;
f (&ty);
if (ty < 0)
ty = -ty;
d = (tx > ty) ? tx : ty;
if (ty != d)
abort ();
exit (0);
}