blob: 77846190f8bb05d70b13e9146b1d4075e89d45ed (
plain) (
blame)
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
|
#include "testFuncs2.h"
static void test33(void)
{
short int a;
long int b;
b = (int)a;
}
void testfunc1(void)
{
unsigned char a;
unsigned char b;
b = a;
}
testfunc2(void)
{
int a;
int b;
int sum;
sum = a + b;
}
void testfunc3()
{
int a;
int b;
int c;
/*do stuff*/
}
int testfunc6(void)
{
int a;
int b;
//return ();
}
int testfunc7(void)
{
int a;
int b;
//return;
}
int testfunc8(void)
{
int a[10];
int b[10];
int* p;
p = &a[0];
int i;
int sum;
int sum2;
int garbage;
int garbage2;
for (i = 0; i < 10; ++i)
{
sum += *(a + i);
sum2 += *(p + i);
//garbage = *(a - b);
}
for (i = 10; i < 1; i++)
{
sum += *(a - i);
sum2 += *(p - i);
//garbage2 = *(p - a);
}
}
|