view gcc/testsuite/gcc.dg/compat/scalar-by-value-6_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 that function args can be passed in various positions to both fixed
   and variable arg functions.  */
/* { dg-options "-O" } */
/* { dg-options "-O -mlong-double-128" { target powerpc*-*-* } } */

extern void exit (int);
extern void longdouble_i_doit (void);
extern void longdouble_d_doit (void);
#ifndef SKIP_COMPLEX
extern void complexlongdouble_i_doit (void);
extern void complexlongdouble_d_doit (void);
#endif

int main (void)
{
  longdouble_i_doit ();
  longdouble_d_doit ();
#ifndef SKIP_COMPLEX
  complexlongdouble_i_doit ();
  complexlongdouble_d_doit ();
#endif
  exit (0);
}