1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
/*
20010518-1.c from the execute part of the gcc torture tests.
*/
#include <testfwk.h>
#ifdef __SDCC
#pragma std_c99
#endif
/* Leaf functions with many arguments. */
int
add (int a,
int b,
int c,
int d,
int e,
int f,
int g,
int h,
int i,
int j,
int k,
int l,
int m)
{
return a+b+c+d+e+f+g+h+i+j+k+l+m;
}
void
testTortureExecute (void)
{
if (add (1,2,3,4,5,6,7,8,9,10,11,12,13) != 91)
ASSERT (0);
return;
}
|