source:
src/tests/identFuncDeclarator.c
@
5479e63
Last change on this file since 5479e63 was e757af2, checked in by , 8 years ago | |
---|---|
|
|
File size: 1.7 KB |
Rev | Line | |
---|---|---|
[62edde5] | 1 | int main() { |
2 | int f1; | |
3 | int (f2); | |
4 | ||
5 | int *f3; | |
6 | int **f4; | |
7 | int * const *f5; | |
8 | int * const * const f6; | |
9 | ||
10 | int *(f7); | |
11 | int **(f8); | |
12 | int * const *(f9); | |
13 | int * const * const (f10); | |
14 | ||
15 | int (*f11); | |
16 | int (**f12); | |
17 | int (* const *f13); | |
18 | int (* const * const f14); | |
19 | ||
[10dc7491] | 20 | int f15[2]; |
[62edde5] | 21 | int f16[10]; |
[10dc7491] | 22 | int (f17[2]); |
[62edde5] | 23 | int (f18[10]); |
24 | ||
[10dc7491] | 25 | int *f19[2]; |
[62edde5] | 26 | int *f20[10]; |
[10dc7491] | 27 | int **f21[2]; |
[62edde5] | 28 | int **f22[10]; |
[10dc7491] | 29 | int * const *f23[2]; |
[62edde5] | 30 | int * const *f24[10]; |
[10dc7491] | 31 | int * const * const f25[2]; |
[62edde5] | 32 | int * const * const f26[10]; |
33 | ||
[10dc7491] | 34 | int *(f27[2]); |
[62edde5] | 35 | int *(f28[10]); |
[10dc7491] | 36 | int **(f29[2]); |
[62edde5] | 37 | int **(f30[10]); |
[10dc7491] | 38 | int * const *(f31[2]); |
[62edde5] | 39 | int * const *(f32[10]); |
[10dc7491] | 40 | int * const * const (f33[2]); |
[62edde5] | 41 | int * const * const (f34[10]); |
42 | ||
[10dc7491] | 43 | int (*f35[2]); |
[62edde5] | 44 | int (*f36[10]); |
[10dc7491] | 45 | int (**f37[2]); |
[62edde5] | 46 | int (**f38[10]); |
[10dc7491] | 47 | int (* const *f39[2]); |
[62edde5] | 48 | int (* const *f40[10]); |
[10dc7491] | 49 | int (* const * const f41[2]); |
[62edde5] | 50 | int (* const * const f42[10]); |
51 | ||
[10dc7491] | 52 | int f43[2][3]; |
[62edde5] | 53 | int f44[3][3]; |
[10dc7491] | 54 | int (f45[2])[3]; |
[62edde5] | 55 | int (f46[3])[3]; |
[10dc7491] | 56 | int ((f47[2]))[3]; |
[62edde5] | 57 | int ((f48[3]))[3]; |
58 | ||
[10dc7491] | 59 | int *f49[2][3]; |
[62edde5] | 60 | int *f50[3][3]; |
[10dc7491] | 61 | int **f51[2][3]; |
[62edde5] | 62 | int **f52[3][3]; |
[10dc7491] | 63 | int * const *f53[2][3]; |
[62edde5] | 64 | int * const *f54[3][3]; |
[10dc7491] | 65 | int * const * const f55[2][3]; |
[62edde5] | 66 | int * const * const f56[3][3]; |
67 | ||
[10dc7491] | 68 | int (*f57[2][3]); |
[62edde5] | 69 | int (*f58[3][3]); |
[10dc7491] | 70 | int (**f59[2][3]); |
[62edde5] | 71 | int (**f60[3][3]); |
[10dc7491] | 72 | int (* const *f61[2][3]); |
[62edde5] | 73 | int (* const *f62[3][3]); |
[10dc7491] | 74 | int (* const * const f63[2][3]); |
[62edde5] | 75 | int (* const * const f64[3][3]); |
76 | ||
77 | int f65(int); | |
78 | int (f66)(int); | |
79 | ||
80 | int *f67(int); | |
81 | int **f68(int); | |
82 | int * const *f69(int); | |
83 | int * const * const f70(int); | |
84 | ||
85 | int *(f71)(int); | |
86 | int **(f72)(int); | |
87 | int * const *(f73)(int); | |
88 | int * const * const (f74)(int); | |
89 | ||
90 | int (*f75)(int); | |
91 | int (**f76)(int); | |
92 | int (* const *f77)(int); | |
93 | int (* const * const f78)(int); | |
94 | ||
95 | int (*(*f79)(int))(); | |
96 | int (*(* const f80)(int))(); | |
97 | int (* const(* const f81)(int))(); | |
98 | } |
Note: See TracBrowser
for help on using the repository browser.