ADTaaron-thesisarm-ehast-experimentalcleanup-dtorsctordeferred_resndemanglerenumforall-pointer-decaygc_noraiijacob/cs343-translationjenkins-sandboxmemorynew-astnew-ast-unique-exprnew-envno_listpersistent-indexerpthread-emulationqualifiedEnumresolv-newwith_gc
Last change
on this file since 01b8088d was
b1d6dd5,
checked in by Peter A. Buhr <pabuhr@…>, 9 years ago
|
fix parsing error for EOF message, change cfa-ccp -x flag to -v, regression testing third attempt: consolidate example programs
|
-
Property mode set to
100644
|
File size:
1.8 KB
|
Rev | Line | |
---|
[51b7345] | 1 | int main() { |
---|
[a65d92e] | 2 | //int f0[](); |
---|
| 3 | //int (f0[])(); |
---|
| 4 | //int f0()[]; |
---|
| 5 | //int f0()(); |
---|
| 6 | //int (*f0)()(); |
---|
| 7 | //int ((*f0())())[]; |
---|
| 8 | |
---|
| 9 | int f1; |
---|
| 10 | int (f2); |
---|
| 11 | |
---|
| 12 | int *f3; |
---|
| 13 | int **f4; |
---|
| 14 | int * const *f5; |
---|
| 15 | int * const * const f6; |
---|
| 16 | |
---|
| 17 | int *(f7); |
---|
| 18 | int **(f8); |
---|
| 19 | int * const *(f9); |
---|
| 20 | int * const * const (f10); |
---|
| 21 | |
---|
| 22 | int (*f11); |
---|
| 23 | int (**f12); |
---|
| 24 | int (* const *f13); |
---|
| 25 | int (* const * const f14); |
---|
| 26 | |
---|
| 27 | int f15[]; |
---|
| 28 | int f16[10]; |
---|
| 29 | int (f17[]); |
---|
| 30 | int (f18[10]); |
---|
| 31 | |
---|
| 32 | int *f19[]; |
---|
| 33 | int *f20[10]; |
---|
| 34 | int **f21[]; |
---|
| 35 | int **f22[10]; |
---|
| 36 | int * const *f23[]; |
---|
| 37 | int * const *f24[10]; |
---|
| 38 | int * const * const f25[]; |
---|
| 39 | int * const * const f26[10]; |
---|
| 40 | |
---|
| 41 | int *(f27[]); |
---|
| 42 | int *(f28[10]); |
---|
| 43 | int **(f29[]); |
---|
| 44 | int **(f30[10]); |
---|
| 45 | int * const *(f31[]); |
---|
| 46 | int * const *(f32[10]); |
---|
| 47 | int * const * const (f33[]); |
---|
| 48 | int * const * const (f34[10]); |
---|
| 49 | |
---|
| 50 | int (*f35[]); |
---|
| 51 | int (*f36[10]); |
---|
| 52 | int (**f37[]); |
---|
| 53 | int (**f38[10]); |
---|
| 54 | int (* const *f39[]); |
---|
| 55 | int (* const *f40[10]); |
---|
| 56 | int (* const * const f41[]); |
---|
| 57 | int (* const * const f42[10]); |
---|
| 58 | |
---|
| 59 | int f43[][3]; |
---|
| 60 | int f44[3][3]; |
---|
| 61 | int (f45[])[3]; |
---|
| 62 | int (f46[3])[3]; |
---|
| 63 | int ((f47[]))[3]; |
---|
| 64 | int ((f48[3]))[3]; |
---|
| 65 | |
---|
| 66 | int *f49[][3]; |
---|
| 67 | int *f50[3][3]; |
---|
| 68 | int **f51[][3]; |
---|
| 69 | int **f52[3][3]; |
---|
| 70 | int * const *f53[][3]; |
---|
| 71 | int * const *f54[3][3]; |
---|
| 72 | int * const * const f55[][3]; |
---|
| 73 | int * const * const f56[3][3]; |
---|
| 74 | |
---|
| 75 | int (*f57[][3]); |
---|
| 76 | int (*f58[3][3]); |
---|
| 77 | int (**f59[][3]); |
---|
| 78 | int (**f60[3][3]); |
---|
| 79 | int (* const *f61[][3]); |
---|
| 80 | int (* const *f62[3][3]); |
---|
| 81 | int (* const * const f63[][3]); |
---|
| 82 | int (* const * const f64[3][3]); |
---|
| 83 | |
---|
| 84 | int f65(int); |
---|
| 85 | int (f66)(int); |
---|
| 86 | |
---|
| 87 | int *f67(int); |
---|
| 88 | int **f68(int); |
---|
| 89 | int * const *f69(int); |
---|
| 90 | int * const * const f70(int); |
---|
| 91 | |
---|
| 92 | int *(f71)(int); |
---|
| 93 | int **(f72)(int); |
---|
| 94 | int * const *(f73)(int); |
---|
| 95 | int * const * const (f74)(int); |
---|
| 96 | |
---|
| 97 | int (*f75)(int); |
---|
| 98 | int (**f76)(int); |
---|
| 99 | int (* const *f77)(int); |
---|
| 100 | int (* const * const f78)(int); |
---|
| 101 | |
---|
| 102 | int (*(*f79)(int))(); |
---|
| 103 | int (*(* const f80)(int))(); |
---|
| 104 | int (* const(* const f81)(int))(); |
---|
[51b7345] | 105 | } |
---|
[a65d92e] | 106 | |
---|
| 107 | // Local Variables: // |
---|
| 108 | // tab-width: 4 // |
---|
| 109 | // End: // |
---|
Note: See
TracBrowser
for help on using the repository browser.