diff options
Diffstat (limited to 'gcc/testsuite/gcc.dg/compat/struct-by-value-13_main.c')
-rw-r--r-- | gcc/testsuite/gcc.dg/compat/struct-by-value-13_main.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.dg/compat/struct-by-value-13_main.c b/gcc/testsuite/gcc.dg/compat/struct-by-value-13_main.c new file mode 100644 index 000000000..b853bb88e --- /dev/null +++ b/gcc/testsuite/gcc.dg/compat/struct-by-value-13_main.c @@ -0,0 +1,14 @@ +/* Test structures passed by value, including to a function with a + variable-length argument lists. All struct members are type + _Complex int. */ + +extern void struct_by_value_l3_x (void); +extern void exit (int); +int fails; + +int +main () +{ + struct_by_value_13_x (); + exit (0); +} |