* gcc.c-torture/compile/981223-1.c: New test.

From-SVN: r24447
This commit is contained in:
Zack Weinberg 1998-12-30 22:08:25 +00:00 committed by Jeff Law
parent 56830143aa
commit de2c54aae1
2 changed files with 12 additions and 0 deletions

View File

@ -1,3 +1,7 @@
Wed Dec 30 23:05:28 1998 Zack Weinberg <zack@rabi.columbia.edu>
* gcc.c-torture/compile/981223-1.c: New test.
Tue Dec 29 11:33:25 1998 Richard Henderson <rth@cygnus.com>
* gcc.c-torture/execute/bcp-1.c (bad10): Rename from opt3.

View File

@ -0,0 +1,8 @@
__complex__ float
func (__complex__ float x)
{
if (__real__ x == 0.0)
return 1.0;
else
return 0.0;
}