OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.dg/] [compat/] [scalar-by-value-5_main.c] - Blame information for rev 816

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 jeremybenn
/* Test that function args can be passed in various positions to both fixed
2
   and variable arg functions.  */
3
/* { dg-options "-O" } */
4
 
5
extern void exit (int);
6
extern void longlong_i_doit (void);
7
extern void longlong_d_doit (void);
8
extern void complexint_i_doit (void);
9
extern void complexint_d_doit (void);
10
extern void complexdouble_i_doit (void);
11
extern void complexdouble_d_doit (void);
12
extern void complexlonglong_i_doit (void);
13
extern void complexlonglong_d_doit (void);
14
 
15
int main (void)
16
{
17
  longlong_i_doit ();
18
  longlong_d_doit ();
19
#ifndef SKIP_COMPLEX_INT
20
  complexint_i_doit ();
21
  complexint_d_doit ();
22
#endif
23
  complexdouble_i_doit ();
24
  complexdouble_d_doit ();
25
#ifndef SKIP_COMPLEX_INT
26
  complexlonglong_i_doit ();
27
  complexlonglong_d_doit ();
28
#endif
29
  exit (0);
30
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.