From e8115463c68a2b5ae19c0897bd1c8b9e8aa0a41c Mon Sep 17 00:00:00 2001 From: Janis Johnson Date: Mon, 5 May 2003 23:09:47 +0000 Subject: struct-by-value-1_main.c: New test file. 2003-05-05 Janis Johnson * 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 --- gcc/testsuite/gcc.dg/compat/struct-by-value-1_main.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 gcc/testsuite/gcc.dg/compat/struct-by-value-1_main.c (limited to 'gcc/testsuite/gcc.dg/compat/struct-by-value-1_main.c') 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); +} -- cgit v1.1