diff options
author | amodra <amodra@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-05-24 23:19:36 +0000 |
---|---|---|
committer | amodra <amodra@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-05-24 23:19:36 +0000 |
commit | 48cea98908cd660913aee70eb7b1a754c32e6735 (patch) | |
tree | 74f66742660de922150649f479603be340c898e1 /gcc/testsuite/gcc.dg/compat/scalar-by-value-6_main.c | |
parent | 57e3f39a03f36b17be20342c52046ec2747949ab (diff) | |
download | gcc-48cea98908cd660913aee70eb7b1a754c32e6735.tar.gz |
* gcc.dg/compat/scalar-by-value-x.h: New.
* gcc.dg/compat/scalar-by-value-y.h: New.
* gcc.dg/compat/scalar-by-value-5.c: New.
* gcc.dg/compat/scalar-by-value-5_main.c: New.
* gcc.dg/compat/scalar-by-value-5_x.c: New.
* gcc.dg/compat/scalar-by-value-5_y.c: New.
* gcc.dg/compat/scalar-by-value-6.c: New.
* gcc.dg/compat/scalar-by-value-6_main.c: New.
* gcc.dg/compat/scalar-by-value-6_x.c: New.
* gcc.dg/compat/scalar-by-value-6_y.c: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@114058 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite/gcc.dg/compat/scalar-by-value-6_main.c')
-rw-r--r-- | gcc/testsuite/gcc.dg/compat/scalar-by-value-6_main.c | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.dg/compat/scalar-by-value-6_main.c b/gcc/testsuite/gcc.dg/compat/scalar-by-value-6_main.c new file mode 100644 index 00000000000..9c73a1caca1 --- /dev/null +++ b/gcc/testsuite/gcc.dg/compat/scalar-by-value-6_main.c @@ -0,0 +1,19 @@ +/* Test that function args can be passed in various positions to both fixed + and variable arg functions. */ +/* { dg-options "-O" } */ +/* { dg-options "-O -mlong-double-128" { target powerpc*-*-* } } */ + +extern void exit (int); +extern void longdouble_i_doit (void); +extern void longdouble_d_doit (void); +extern void complexlongdouble_i_doit (void); +extern void complexlongdouble_d_doit (void); + +int main (void) +{ + longdouble_i_doit (); + longdouble_d_doit (); + complexlongdouble_i_doit (); + complexlongdouble_d_doit (); + exit (0); +} |