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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.c-torture/] [execute/] [20010518-1.c] - Blame information for rev 816

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 jeremybenn
/* Leaf functions with many arguments.  */
2
 
3
int
4
add (int a,
5
    int b,
6
    int c,
7
    int d,
8
    int e,
9
    int f,
10
    int g,
11
    int h,
12
    int i,
13
    int j,
14
    int k,
15
    int l,
16
    int m)
17
{
18
  return a+b+c+d+e+f+g+h+i+j+k+l+m;
19
}
20
 
21
int
22
main(void)
23
{
24
  if (add (1,2,3,4,5,6,7,8,9,10,11,12,13) != 91)
25
    abort ();
26
 
27
  exit (0);
28
}

powered by: WebSVN 2.1.0

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