ADTaaron-thesisarm-ehast-experimentalcleanup-dtorsctordeferred_resndemanglerenumforall-pointer-decaygc_noraiijacob/cs343-translationjenkins-sandboxmemorynew-astnew-ast-unique-exprnew-envno_listpersistent-indexerpthread-emulationqualifiedEnumresolv-newstringwith_gc
Last change
on this file since cd623a4 was
a65d92e,
checked in by Peter A. Buhr <pabuhr@…>, 9 years ago
|
regression testing, second attempt
|
-
Property mode set to
100644
|
File size:
2.0 KB
|
Rev | Line | |
---|
[51b7345] | 1 | int f1; |
---|
| 2 | int (f2); |
---|
| 3 | |
---|
| 4 | int *f3; |
---|
| 5 | int **f4; |
---|
| 6 | int * const *f5; |
---|
| 7 | int * const * const f6; |
---|
| 8 | |
---|
| 9 | int *(f7); |
---|
| 10 | int **(f8); |
---|
| 11 | int * const *(f9); |
---|
| 12 | int * const * const (f10); |
---|
| 13 | |
---|
| 14 | int (*f11); |
---|
| 15 | int (**f12); |
---|
| 16 | int (* const *f13); |
---|
| 17 | int (* const * const f14); |
---|
| 18 | |
---|
| 19 | int f15[]; |
---|
| 20 | int f16[10]; |
---|
| 21 | int (f17[]); |
---|
| 22 | int (f18[10]); |
---|
| 23 | |
---|
| 24 | int *f19[]; |
---|
| 25 | int *f20[10]; |
---|
| 26 | int **f21[]; |
---|
| 27 | int **f22[10]; |
---|
| 28 | int * const *f23[]; |
---|
| 29 | int * const *f24[10]; |
---|
| 30 | int * const * const f25[]; |
---|
| 31 | int * const * const f26[10]; |
---|
| 32 | |
---|
| 33 | int *(f27[]); |
---|
| 34 | int *(f28[10]); |
---|
| 35 | int **(f29[]); |
---|
| 36 | int **(f30[10]); |
---|
| 37 | int * const *(f31[]); |
---|
| 38 | int * const *(f32[10]); |
---|
| 39 | int * const * const (f33[]); |
---|
| 40 | int * const * const (f34[10]); |
---|
| 41 | |
---|
| 42 | int (*f35[]); |
---|
| 43 | int (*f36[10]); |
---|
| 44 | int (**f37[]); |
---|
| 45 | int (**f38[10]); |
---|
| 46 | int (* const *f39[]); |
---|
| 47 | int (* const *f40[10]); |
---|
| 48 | int (* const * const f41[]); |
---|
| 49 | int (* const * const f42[10]); |
---|
| 50 | |
---|
| 51 | int f43[][3]; |
---|
| 52 | int f44[3][3]; |
---|
| 53 | int (f45[])[3]; |
---|
| 54 | int (f46[3])[3]; |
---|
| 55 | int ((f47[]))[3]; |
---|
| 56 | int ((f48[3]))[3]; |
---|
| 57 | |
---|
| 58 | int *f49[][3]; |
---|
| 59 | int *f50[3][3]; |
---|
| 60 | int **f51[][3]; |
---|
| 61 | int **f52[3][3]; |
---|
| 62 | int * const *f53[][3]; |
---|
| 63 | int * const *f54[3][3]; |
---|
| 64 | int * const * const f55[][3]; |
---|
| 65 | int * const * const f56[3][3]; |
---|
| 66 | |
---|
| 67 | int (*f57[][3]); |
---|
| 68 | int (*f58[3][3]); |
---|
| 69 | int (**f59[][3]); |
---|
| 70 | int (**f60[3][3]); |
---|
| 71 | int (* const *f61[][3]); |
---|
| 72 | int (* const *f62[3][3]); |
---|
| 73 | int (* const * const f63[][3]); |
---|
| 74 | int (* const * const f64[3][3]); |
---|
| 75 | |
---|
| 76 | int f65(int); |
---|
| 77 | int (f66)(int); |
---|
| 78 | |
---|
| 79 | int *f67(int); |
---|
| 80 | int **f68(int); |
---|
| 81 | int * const *f69(int); |
---|
| 82 | int * const * const f70(int); |
---|
| 83 | |
---|
| 84 | int *(f71)(int); |
---|
| 85 | int **(f72)(int); |
---|
| 86 | int * const *(f73)(int); |
---|
| 87 | |
---|
| 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 | |
---|
| 99 | // errors |
---|
| 100 | |
---|
| 101 | //int fe0[](); // array of functions |
---|
| 102 | //int (fe1[])(); // array of functions |
---|
| 103 | //int fe2()[]; // returning an array |
---|
| 104 | //int fe3()(); // returning a function |
---|
| 105 | //int (*fe4)()(); // returning a function |
---|
| 106 | //int ((*fe5())())[]; // returning an array |
---|
| 107 | |
---|
| 108 | // Cforall extensions |
---|
| 109 | |
---|
| 110 | * [20] double z; |
---|
| 111 | [20] * char w; |
---|
| 112 | |
---|
| 113 | // function pointer |
---|
| 114 | |
---|
| 115 | *[]*[]* [ *[]*[] int ]( *[]*[] int, *[]*[] int ) v3; |
---|
[a65d92e] | 116 | |
---|
| 117 | // Local Variables: // |
---|
| 118 | // tab-width: 4 // |
---|
| 119 | // End: // |
---|
Note: See
TracBrowser
for help on using the repository browser.