990117-1.c: New test from Horst von Brand.

* gcc.c-torture/compile/990117-1.c: New test from Horst von Brand.
        * gcc.c-torture/compile/990117-2.c: Likewise.

From-SVN: r24710
This commit is contained in:
Jeffrey A Law 1999-01-16 23:16:58 +00:00 committed by Jeff Law
parent f81b9d9599
commit cf29d761c5
2 changed files with 11 additions and 0 deletions

View File

@ -1,6 +1,8 @@
Sun Jan 17 00:02:33 1999 Jeffrey A Law (law@cygnus.com)
* gcc.c-torture/compile/990117-1.c: New test from Horst von Brand.
* gcc.c-torture/compile/990117-2.c: Likewise.
* gcc.c-torture/execute/990117-1.c: New test from HJ Lu.
Fri Jan 15 02:52:00 1999 Jeffrey A Law (law@cygnus.com)

View File

@ -0,0 +1,9 @@
__complex__ float
f(__complex__ float x)
{
__complex__ float res;
if (__real__ x == 0.0)
res = x;
return res;
}