-
Notifications
You must be signed in to change notification settings - Fork 0
/
test.c
73 lines (67 loc) · 1.06 KB
/
test.c
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
#define TEST_C
#define A 10 + 1
#if B
int i;
#elif defined B
int j;
#else
#ifdef A
int k;
#else
int l;
#endif
#endif
int main() {
a = A;
}
int sof = sizeof(sizeof(int *[5]) + 1);
int cast = (int)(float)218032;
int (*fn)(int[128], char **, int (*)[]);
int sp\
li\
ce = 0;
int *(*(*(*foo)(char))(double)) /* block comment */[3];
char *f(int, char *[], void (*)(volatile int, char[]));
char(*(*x[3])());
static const int **x[5];
static int func(int a, int b, volatile int c);
struct vec2 {
int x, y;
} v2 = {0, 1};
typedef enum Colors { Red = 1, Blue, Green } colors;
int xx(char c) {
int i = 0, j, k = 2;
int **d = {{0, 1, 2}, {3, 4, 5}};
if (a == b) {
printf("hello world");
} else if (b < 0) {
f2();
}
for (i = 0; i < 10; i++) {
print(i);
break;
}
switch (a) {
case 1:
f(1);
f(2);
break;
case 2:
f(3);
break;
default:
return;
}
x = 1;
int *arr[5];
c /= a > b ? (5 % 2) && st.member : x[1];
func(0, 1 * 0, *ptr);
return 1;
}
typedef int a;
a b = 1;
void fn(void) {
char b;
(a) * b;
(aa) * b;
}