aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/compat/struct-by-value-7_main.c
diff options
context:
space:
mode:
authorJanis Johnson <janis187@us.ibm.com>2003-05-16 23:01:38 +0000
committerJanis Johnson <janis@gcc.gnu.org>2003-05-16 23:01:38 +0000
commit72701eabe7b06cba4b4905bb4116ea1be54909f5 (patch)
treed18f4db4c1809ec0fdf2326f56518b0fe33b1195 /gcc/testsuite/gcc.dg/compat/struct-by-value-7_main.c
parent190162de1dc5f100b6e07692af7dedac9027e65a (diff)
downloadgcc-72701eabe7b06cba4b4905bb4116ea1be54909f5.zip
gcc-72701eabe7b06cba4b4905bb4116ea1be54909f5.tar.gz
gcc-72701eabe7b06cba4b4905bb4116ea1be54909f5.tar.bz2
struct-by-value-4_main.c: Split into multiple tests.
2003-05-16 Janis Johnson <janis187@us.ibm.com> * gcc.dg/compat/struct-by-value-4_main.c: Split into multiple tests. * gcc.dg/compat/struct-by-value-4_x.c: Split into multiple tests. * gcc.dg/compat/struct-by-value-4_y.c: Split into multiple tests. * gcc.dg/compat/struct-by-value-5_main.c: Split into multiple tests. * gcc.dg/compat/struct-by-value-5_x.c: Split into multiple tests. * gcc.dg/compat/struct-by-value-5_y.c: Split into multiple tests. * gcc.dg/compat/struct-by-value-6_main.c: New file. * gcc.dg/compat/struct-by-value-6_x.c: New file. * gcc.dg/compat/struct-by-value-6_y.c: New file. * gcc.dg/compat/struct-by-value-7_main.c: New file. * gcc.dg/compat/struct-by-value-7_x.c: New file. * gcc.dg/compat/struct-by-value-7_y.c: New file. * gcc.dg/compat/struct-by-value-8_main.c: New file. * gcc.dg/compat/struct-by-value-8_x.c: New file. * gcc.dg/compat/struct-by-value-8_y.c: New file. * gcc.dg/compat/struct-by-value-9_main.c: New file. * gcc.dg/compat/struct-by-value-9_x.c: New file. * gcc.dg/compat/struct-by-value-9_y.c: New file. From-SVN: r66893
Diffstat (limited to 'gcc/testsuite/gcc.dg/compat/struct-by-value-7_main.c')
-rw-r--r--gcc/testsuite/gcc.dg/compat/struct-by-value-7_main.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.dg/compat/struct-by-value-7_main.c b/gcc/testsuite/gcc.dg/compat/struct-by-value-7_main.c
new file mode 100644
index 0000000..7f0264c
--- /dev/null
+++ b/gcc/testsuite/gcc.dg/compat/struct-by-value-7_main.c
@@ -0,0 +1,13 @@
+/* Test structures passed by value, including to a function with a
+ variable-length argument lists. All struct members are long double
+ scalars. */
+
+extern void struct_by_value_7_x (void);
+extern void exit (int);
+
+int
+main ()
+{
+ struct_by_value_7_x ();
+ exit (0);
+}