view gcc/testsuite/gcc.dg/compat/struct-by-value-20_main.c @ 131:84e7813d76e9

gcc-8.2
author mir3636
date Thu, 25 Oct 2018 07:37:49 +0900
parents 04ced10e8804
children
line wrap: on
line source

/* Test structures passed by value, including to a function with a
   variable-length argument list.  Tested structs end with double.
   This test was written in response to a layout change for such
   structs for powerpc64-linux that breaks compatibility between
   3.3 and 3.4. */

extern void struct_by_value_20_x (void);
extern void exit (int);
int fails;

int
main ()
{
  struct_by_value_20_x ();
  exit (0);
}