mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-01-29 13:54:20 +08:00
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:
parent
f81b9d9599
commit
cf29d761c5
@ -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)
|
||||
|
9
gcc/testsuite/gcc.c-torture/compile/990117-2.c
Normal file
9
gcc/testsuite/gcc.c-torture/compile/990117-2.c
Normal file
@ -0,0 +1,9 @@
|
||||
__complex__ float
|
||||
f(__complex__ float x)
|
||||
{
|
||||
__complex__ float res;
|
||||
|
||||
if (__real__ x == 0.0)
|
||||
res = x;
|
||||
return res;
|
||||
}
|
Loading…
Reference in New Issue
Block a user