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

From-SVN: r30184
This commit is contained in:
Jeffrey A Law 1999-10-26 06:47:05 +00:00 committed by Jeff Law
parent c2b4b17147
commit 543c94cc93
2 changed files with 17 additions and 0 deletions

View File

@ -1,3 +1,7 @@
Tue Oct 26 00:45:56 1999 Jeffrey A Law (law@cygnus.com)
* gcc.c-torture/compile/991026-1.c: New test.
Sat Oct 23 23:36:03 1999 Jeffrey A Law (law@cygnus.com)
* gcc.c-torture/execute/991023-1.c: New test.

View File

@ -0,0 +1,13 @@
void something_f(float);
int foo(void)
{
union
{
float f;
double d;
} u, *pu = &u;
u.f = 1.0;
something_f(u.f);
}