ADT
aaron-thesis
arm-eh
ast-experimental
cleanup-dtors
ctor
deferred_resn
demangler
enum
forall-pointer-decay
gc_noraii
jacob/cs343-translation
jenkins-sandbox
memory
new-ast
new-ast-unique-expr
new-env
no_list
persistent-indexer
pthread-emulation
qualifiedEnum
resolv-new
with_gc
Last change
on this file since f1ee72e was 10dc7491, checked in by Peter A. Buhr <pabuhr@…>, 9 years ago |
add more tests
|
-
Property mode
set to
100644
|
File size:
1.7 KB
|
Line | |
---|
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 |
|
---|
20 | int f15[2];
|
---|
21 | int f16[10];
|
---|
22 | int (f17[2]);
|
---|
23 | int (f18[10]);
|
---|
24 |
|
---|
25 | int *f19[2];
|
---|
26 | int *f20[10];
|
---|
27 | int **f21[2];
|
---|
28 | int **f22[10];
|
---|
29 | int * const *f23[2];
|
---|
30 | int * const *f24[10];
|
---|
31 | int * const * const f25[2];
|
---|
32 | int * const * const f26[10];
|
---|
33 |
|
---|
34 | int *(f27[2]);
|
---|
35 | int *(f28[10]);
|
---|
36 | int **(f29[2]);
|
---|
37 | int **(f30[10]);
|
---|
38 | int * const *(f31[2]);
|
---|
39 | int * const *(f32[10]);
|
---|
40 | int * const * const (f33[2]);
|
---|
41 | int * const * const (f34[10]);
|
---|
42 |
|
---|
43 | int (*f35[2]);
|
---|
44 | int (*f36[10]);
|
---|
45 | int (**f37[2]);
|
---|
46 | int (**f38[10]);
|
---|
47 | int (* const *f39[2]);
|
---|
48 | int (* const *f40[10]);
|
---|
49 | int (* const * const f41[2]);
|
---|
50 | int (* const * const f42[10]);
|
---|
51 |
|
---|
52 | int f43[2][3];
|
---|
53 | int f44[3][3];
|
---|
54 | int (f45[2])[3];
|
---|
55 | int (f46[3])[3];
|
---|
56 | int ((f47[2]))[3];
|
---|
57 | int ((f48[3]))[3];
|
---|
58 |
|
---|
59 | int *f49[2][3];
|
---|
60 | int *f50[3][3];
|
---|
61 | int **f51[2][3];
|
---|
62 | int **f52[3][3];
|
---|
63 | int * const *f53[2][3];
|
---|
64 | int * const *f54[3][3];
|
---|
65 | int * const * const f55[2][3];
|
---|
66 | int * const * const f56[3][3];
|
---|
67 |
|
---|
68 | int (*f57[2][3]);
|
---|
69 | int (*f58[3][3]);
|
---|
70 | int (**f59[2][3]);
|
---|
71 | int (**f60[3][3]);
|
---|
72 | int (* const *f61[2][3]);
|
---|
73 | int (* const *f62[3][3]);
|
---|
74 | int (* const * const f63[2][3]);
|
---|
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.