diff --git a/tests/tcctest.c b/tests/tcctest.c index d96c5a1..e84f291 100644 --- a/tests/tcctest.c +++ b/tests/tcctest.c @@ -1721,6 +1721,12 @@ void prefix ## signed_zeros(void) \ 1.0 / x != 1.0 / p);\ else\ printf ("x != +y; this is wrong!\n");\ + p = -y;\ + if (x == p)\ + printf ("Test 1.0 / x != 1.0 / -y returns %d (should be 0).\n",\ + 1.0 / x != 1.0 / p);\ + else\ + printf ("x != -y; this is wrong!\n");\ }\ void prefix ## test(void)\ {\