From 0964c98c4c3e37652497515f187b29da47e3776b Mon Sep 17 00:00:00 2001 From: Janis Johnson Date: Thu, 3 Jul 2003 20:15:48 +0000 Subject: fnptr-by-value-1_main.c: New file. * gcc.dg/compat/fnptr-by-value-1_main.c: New file. * gcc.dg/compat/fnptr-by-value-1_x.c: New file. * gcc.dg/compat/fnptr-by-value-1_y.c: New file. * gcc.dg/compat/struct-align-1.h: New file. * gcc.dg/compat/struct-align-1_main.c: New file. * gcc.dg/compat/struct-align-1_x.c: New file. * gcc.dg/compat/struct-align-1_y.c: New file. * gcc.dg/compat/struct-align-2.h: New file. * gcc.dg/compat/struct-align-2_main.c: New file. * gcc.dg/compat/struct-align-2_x.c: New file. * gcc.dg/compat/struct-align-2_y.c: New file. From-SVN: r68901 --- gcc/testsuite/gcc.dg/compat/struct-align-1_main.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 gcc/testsuite/gcc.dg/compat/struct-align-1_main.c (limited to 'gcc/testsuite/gcc.dg/compat/struct-align-1_main.c') diff --git a/gcc/testsuite/gcc.dg/compat/struct-align-1_main.c b/gcc/testsuite/gcc.dg/compat/struct-align-1_main.c new file mode 100644 index 0000000..0b7f27b --- /dev/null +++ b/gcc/testsuite/gcc.dg/compat/struct-align-1_main.c @@ -0,0 +1,13 @@ +/* Test compatibility of structure layout and alignment for structs + which contain doubles. The original structs here are from PR 10645. */ + +extern void struct_align_1_x (void); +extern void exit (int); +int fails; + +int +main () +{ + struct_align_1_x (); + exit (0); +} -- cgit v1.1