blob: 36f07200fa24b3f1b55c566d5d2c00a26d56a15e (
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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
|
/*first line intentionally left blank*/
/*********************************************************************************************************************/
/*inclusion directives*/
#include "testFuncs2.h"
#if 0
#include <stdlib.h>
#include <stdio.h>
#include <stddef.h>
#include <signal.h>
#include <time.h>
#endif
/*********************************************************************************************************************/
/*macro and definitions*/
typedef const* INTPTR;
#define XMACRO Y
#define ABSOLUTE(X) (((X) >= 0) ? (X) : -(X))
#define ABSOLUTE2(X) ((X >= 0) ? X : -X)
#define ABSOLUTE3(XMACRO) (((XMACRO) <= 0) ? (XMACRO) : -(XMACRO))
#define MINUS(X,Y) ((X) - (Y))
#define LOCOLUPO
#undef LOCOLUPO
/*********************************************************************************************************************/
/*Globals*/
/*********************************************************************************************************************/
/*functions go here.*/
static void test33(void)
{
short int a;
long int b;
MINUS(a, b);
//MINUS(a);
b = (int)a;
}
void testfunc1(void)
{
unsigned char a;
unsigned char b;
b = a;
}
#if CRAZYMACRO < 0
#endif
testfunc2(void)
{
int a;
int b;
int sum;
sum = a + b;
}
void testfunc3()
{
int a;
int b;
int c;
int abcdefghijklmnopqrstuvwxyz1234567890;
int abcdefghijklmnopqrstuvwxyz12345678902;
/*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);
}
}
void testfunc9(void)
{
int** p1;
int*** p2;
struct
{
int* sp1;
int** sp2;
int*** sp3;
};
struct s* ps1;
struct s** ps2;
struct s*** ps3;
INTPTR *const* const fedupp1;
int ** (*pfunc1)();
int ** (**pfunc2)();
int ** (***pfunc3)();
int *** (**pfunc4)();
int ** (**pfunc5)(int**, int**);
int ** (**pfunc6)(int**, int***);
}
void testfunc10 (int ** (**p5)(int**, int**), int ** (**p6)(int**, int***))
{
}
/*********************************************************************************************************************/
/*last line intentionally left blank.*/
|