summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/compat/scalar-by-value-6_main.c
blob: f6b3c1d8a8ee34d063836e570a527927667f02de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/* 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);
}