* gcc.c-torture/compile/981223-1.c: New test.
From-SVN: r24447
This commit is contained in:
parent
56830143aa
commit
de2c54aae1
@ -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.
|
||||
|
8
gcc/testsuite/gcc.c-torture/compile/981223-1.c
Normal file
8
gcc/testsuite/gcc.c-torture/compile/981223-1.c
Normal file
@ -0,0 +1,8 @@
|
||||
__complex__ float
|
||||
func (__complex__ float x)
|
||||
{
|
||||
if (__real__ x == 0.0)
|
||||
return 1.0;
|
||||
else
|
||||
return 0.0;
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user