mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-19 10:08:58 +08:00
* gcc.c-torture/compile/991026-1.c: New test.
From-SVN: r30184
This commit is contained in:
parent
c2b4b17147
commit
543c94cc93
@ -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.
|
||||
|
13
gcc/testsuite/gcc.c-torture/compile/991026-1.c
Normal file
13
gcc/testsuite/gcc.c-torture/compile/991026-1.c
Normal 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);
|
||||
}
|
Loading…
Reference in New Issue
Block a user