diff options
Diffstat (limited to 'gcc/testsuite/gcc.dg/compat/struct-align-1_main.c')
-rw-r--r-- | gcc/testsuite/gcc.dg/compat/struct-align-1_main.c | 13 |
1 files changed, 13 insertions, 0 deletions
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); +} |