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

Subversion Repositories openrisc

[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc1/] [gcc/] [testsuite/] [gcc.dg/] [compat/] [scalar-by-value-5_main.c] - Blame information for rev 338

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 298 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
20
#ifndef SKIP_COMPLEX_INT
21
  complexint_i_doit ();
22
  complexint_d_doit ();
23
#endif
24
  complexdouble_i_doit ();
25
  complexdouble_d_doit ();
26
#ifndef SKIP_COMPLEX_INT
27
  complexlonglong_i_doit ();
28
  complexlonglong_d_doit ();
29
#endif
30
#endif
31
  exit (0);
32
}

powered by: WebSVN 2.1.0

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