| [a22e8b4] | 1 | //
|
|---|
| [5ead9f9] | 2 | // Cforall Version 1.0.0 Copyright (C) 2016 University of Waterloo
|
|---|
| 3 | //
|
|---|
| 4 | // The contents of this file are covered under the licence agreement in the
|
|---|
| 5 | // file "LICENCE" distributed with Cforall.
|
|---|
| [a22e8b4] | 6 | //
|
|---|
| 7 | // identParamDeclarator.cfa --
|
|---|
| 8 | //
|
|---|
| [5ead9f9] | 9 | // Author : Peter A. Buhr
|
|---|
| 10 | // Created On : Wed Aug 17 08:37:56 2016
|
|---|
| 11 | // Last Modified By : Peter A. Buhr
|
|---|
| [66812dd] | 12 | // Last Modified On : Fri Sep 25 14:31:08 2020
|
|---|
| 13 | // Update Count : 4
|
|---|
| [a22e8b4] | 14 | //
|
|---|
| 15 |
|
|---|
| 16 | // We have some useless const qualifiers for parsing testing.
|
|---|
| 17 | #pragma GCC diagnostic ignored "-Wignored-qualifiers"
|
|---|
| [5ead9f9] | 18 |
|
|---|
| [320eb73a] | 19 | int fred (
|
|---|
| [62edde5] | 20 | int f1,
|
|---|
| 21 | int (f2),
|
|---|
| 22 |
|
|---|
| 23 | int *f3,
|
|---|
| 24 | int **f4,
|
|---|
| 25 | int * const *f5,
|
|---|
| 26 | int * const * const f6,
|
|---|
| 27 |
|
|---|
| 28 | int *(f7),
|
|---|
| 29 | int **(f8),
|
|---|
| 30 | int * const *(f9),
|
|---|
| 31 | int * const * const (f10),
|
|---|
| 32 |
|
|---|
| 33 | int (*f11),
|
|---|
| 34 | int (**f12),
|
|---|
| 35 | int (* const *f13),
|
|---|
| 36 | int (* const * const f14),
|
|---|
| 37 |
|
|---|
| 38 | int f15[],
|
|---|
| 39 | int f16[10],
|
|---|
| 40 | int (f17[]),
|
|---|
| 41 | int (f18[10]),
|
|---|
| 42 |
|
|---|
| 43 | int *f19[],
|
|---|
| 44 | int *f20[10],
|
|---|
| 45 | int **f21[],
|
|---|
| 46 | int **f22[10],
|
|---|
| 47 | int * const *f23[],
|
|---|
| 48 | int * const *f24[10],
|
|---|
| 49 | int * const * const f25[],
|
|---|
| 50 | int * const * const f26[10],
|
|---|
| 51 |
|
|---|
| 52 | int *(f27[]),
|
|---|
| 53 | int *(f28[10]),
|
|---|
| 54 | int **(f29[]),
|
|---|
| 55 | int **(f30[10]),
|
|---|
| 56 | int * const *(f31[]),
|
|---|
| 57 | int * const *(f32[10]),
|
|---|
| 58 | int * const * const (f33[]),
|
|---|
| 59 | int * const * const (f34[10]),
|
|---|
| 60 |
|
|---|
| 61 | int (*f35[]),
|
|---|
| 62 | int (*f36[10]),
|
|---|
| 63 | int (**f37[]),
|
|---|
| 64 | int (**f38[10]),
|
|---|
| 65 | int (* const *f39[]),
|
|---|
| 66 | int (* const *f40[10]),
|
|---|
| 67 | int (* const * const f41[]),
|
|---|
| 68 | int (* const * const f42[10]),
|
|---|
| 69 |
|
|---|
| 70 | int f43[][3],
|
|---|
| 71 | int f44[3][3],
|
|---|
| 72 | int (f45[])[3],
|
|---|
| 73 | int (f46[3])[3],
|
|---|
| 74 | int ((f47[]))[3],
|
|---|
| 75 | int ((f48[3]))[3],
|
|---|
| 76 |
|
|---|
| 77 | int *f49[][3],
|
|---|
| 78 | int *f50[3][3],
|
|---|
| 79 | int **f51[][3],
|
|---|
| 80 | int **f52[3][3],
|
|---|
| 81 | int * const *f53[][3],
|
|---|
| 82 | int * const *f54[3][3],
|
|---|
| 83 | int * const * const f55[][3],
|
|---|
| 84 | int * const * const f56[3][3],
|
|---|
| 85 |
|
|---|
| 86 | int (*f57[][3]),
|
|---|
| 87 | int (*f58[3][3]),
|
|---|
| 88 | int (**f59[][3]),
|
|---|
| 89 | int (**f60[3][3]),
|
|---|
| 90 | int (* const *f61[][3]),
|
|---|
| 91 | int (* const *f62[3][3]),
|
|---|
| 92 | int (* const * const f63[][3]),
|
|---|
| 93 | int (* const * const f64[3][3]),
|
|---|
| 94 |
|
|---|
| 95 | int f65(int),
|
|---|
| 96 | int (f66)(int),
|
|---|
| 97 |
|
|---|
| 98 | int *f67(int),
|
|---|
| 99 | int **f68(int),
|
|---|
| 100 | int * const *f69(int),
|
|---|
| 101 | int * const * const f70(int),
|
|---|
| 102 |
|
|---|
| 103 | int *(f71)(int),
|
|---|
| 104 | int **(f72)(int),
|
|---|
| 105 | int * const *(f73)(int),
|
|---|
| 106 | int * const * const (f74)(int),
|
|---|
| 107 |
|
|---|
| 108 | int (*f75)(int),
|
|---|
| 109 | int (**f76)(int),
|
|---|
| 110 | int (* const *f77)(int),
|
|---|
| 111 | int (* const * const f78)(int),
|
|---|
| 112 |
|
|---|
| 113 | int (*(*f79)(int))(),
|
|---|
| 114 | int (*(* const f80)(int))(),
|
|---|
| 115 | int (* const(* const f81)(int))(),
|
|---|
| 116 |
|
|---|
| 117 | int f82[const *],
|
|---|
| 118 | int f83[const 3],
|
|---|
| 119 | int f84[static 3],
|
|---|
| 120 | int f85[static const 3],
|
|---|
| 121 |
|
|---|
| 122 | int (f86[const *]),
|
|---|
| 123 | int (f87[const 3]),
|
|---|
| 124 | int (f88[static 3]),
|
|---|
| 125 | int (f89[static const 3]),
|
|---|
| 126 |
|
|---|
| 127 | int *f90[const *],
|
|---|
| 128 | int *f91[const 3],
|
|---|
| 129 | int **f92[static 3],
|
|---|
| 130 | int * const *f93[static const 3],
|
|---|
| 131 | int * const * const f94[static const 3],
|
|---|
| 132 |
|
|---|
| 133 | int *(f95[const *]),
|
|---|
| 134 | int *(f96[const 3]),
|
|---|
| 135 | int **(f97[static 3]),
|
|---|
| 136 | int * const *(f98[static const 3]),
|
|---|
| 137 | int * const * const (f99[static const 3]),
|
|---|
| 138 |
|
|---|
| 139 | int f100[const *][3],
|
|---|
| 140 | int f101[const 3][3],
|
|---|
| 141 | int f102[static 3][3],
|
|---|
| 142 | int f103[static const 3][3],
|
|---|
| 143 |
|
|---|
| 144 | int (f104[const *][3]),
|
|---|
| 145 | int (f105[const 3][3]),
|
|---|
| 146 | int (f106[static 3][3]),
|
|---|
| 147 | int (f107[static const 3][3]),
|
|---|
| 148 |
|
|---|
| 149 | int *f108[const *][3],
|
|---|
| 150 | int *f109[const 3][3],
|
|---|
| 151 | int **f110[static 3][3],
|
|---|
| 152 | int * const *f111[static const 3][3],
|
|---|
| 153 | int * const * const f112[static const 3][3],
|
|---|
| 154 |
|
|---|
| 155 | int *(f113[const *][3]),
|
|---|
| 156 | int *(f114[const 3][3]),
|
|---|
| 157 | int **(f115[static 3][3]),
|
|---|
| 158 | int * const *(f116[static const 3][3]),
|
|---|
| 159 | int * const * const (f117[static const 3][3])
|
|---|
| [10dc7491] | 160 | );
|
|---|
| [62edde5] | 161 |
|
|---|
| [a22e8b4] | 162 | int main() {
|
|---|
| [66812dd] | 163 | printf( "done\n" ); // non-empty .expect file
|
|---|
| [62edde5] | 164 | }
|
|---|
| [5ead9f9] | 165 |
|
|---|
| 166 | // Local Variables: //
|
|---|
| 167 | // tab-width: 4 //
|
|---|
| [dc8511c] | 168 | // compile-command: "cfa identParamDeclarator.cfa" //
|
|---|
| [5ead9f9] | 169 | // End: //
|
|---|