diff options
author | Janis Johnson <janis187@us.ibm.com> | 2003-05-05 23:09:47 +0000 |
---|---|---|
committer | Janis Johnson <janis@gcc.gnu.org> | 2003-05-05 23:09:47 +0000 |
commit | e8115463c68a2b5ae19c0897bd1c8b9e8aa0a41c (patch) | |
tree | d6147feec6dba9b84548c544bb4c4af54d29af2d /gcc/testsuite/gcc.dg/compat/struct-by-value-1_main.c | |
parent | 8846710195765eba5e23afeea36956fb2ae35e26 (diff) | |
download | gcc-e8115463c68a2b5ae19c0897bd1c8b9e8aa0a41c.zip gcc-e8115463c68a2b5ae19c0897bd1c8b9e8aa0a41c.tar.gz gcc-e8115463c68a2b5ae19c0897bd1c8b9e8aa0a41c.tar.bz2 |
struct-by-value-1_main.c: New test file.
2003-05-05 Janis Johnson <janis187@us.ibm.com>
* gcc.dg/compat/struct-by-value-1_main.c: New test file.
* gcc.dg/compat/struct-by-value-1_x.c: New test file.
* gcc.dg/compat/struct-by-value-1_y.c: New test file.
* gcc.dg/compat/struct-by-value-2_main.c: New test file.
* gcc.dg/compat/struct-by-value-2_x.c: New test file.
* gcc.dg/compat/struct-by-value-2_y.c: New test file.
* gcc.dg/compat/struct-by-value-3_main.c: New test file.
* gcc.dg/compat/struct-by-value-3_x.c: New test file.
* gcc.dg/compat/struct-by-value-3_y.c: New test file.
* gcc.dg/compat/struct-by-value-4_main.c: New test file.
* gcc.dg/compat/struct-by-value-4_x.c: New test file.
* gcc.dg/compat/struct-by-value-4_y.c: New test file.
* gcc.dg/compat/struct-by-value-5_main.c: New test file.
* gcc.dg/compat/struct-by-value-5_x.c: New test file.
* gcc.dg/compat/struct-by-value-5_y.c: New test file.
From-SVN: r66509
Diffstat (limited to 'gcc/testsuite/gcc.dg/compat/struct-by-value-1_main.c')
-rw-r--r-- | gcc/testsuite/gcc.dg/compat/struct-by-value-1_main.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.dg/compat/struct-by-value-1_main.c b/gcc/testsuite/gcc.dg/compat/struct-by-value-1_main.c new file mode 100644 index 0000000..d2f9de5 --- /dev/null +++ b/gcc/testsuite/gcc.dg/compat/struct-by-value-1_main.c @@ -0,0 +1,12 @@ +/* Test structure passing by value, using a test from gcc.dg. + Each struct that is passed contains an array of unsigned char. */ + +extern void struct_by_value_1_x (void); +extern void exit (int); + +int +main () +{ + struct_by_value_1_x (); + exit (0); +} |