1# 1 "example.c" 2 3 4 5 6 7 8typedef char *charstar; 9 10 11 12 13 14 15x( 16 17 18 19baz) 20# 14 "example.c" 21struct { 22 struct { 23 int (*(*foo)())(); 24 } foo; 25} baz; 26# 18 "example.c" 27{/*1*/ 28 /* end dcls */return (0); 29}/*1*/ 30 31 32 33int (*(*bar0)())(); 34 35 36 37baz0(bar) 38int (*(*bar)())(); 39{/*1*/}/*1*/ 40 41 42 43 44 45 46 47foo(bar) 48# 38 "example.c" 49int (*(*bar)())(); 50{/*1*/ 51 int (*baz)()= (int (*)()) 0, 52 y = (y * (*baz)(y)), 53 *(*z)()= (int *(*)()) 0; 54 55 struct {/*2*/ int (*foo)(); }/*2*/ *(*s)()= 56 (struct { int (*foo)(); } *(*)()) 0; 57 58 /* end dcls */{/*2*/ 59 y /* end dcls */= (y * (*baz)(y)); 60 }/*2*/ 61 {/*2*/ 62 z /* end dcls */= (int *(*)()) 0; 63 }/*2*/ 64 {/*2*/ 65 s /* end dcls */= (struct { int (*foo)(); } *(*)()) 0; 66 }/*2*/ 67 68 return (0); 69}/*1*/ 70 71 72 73test1() 74{/*1*/ 75 int foo2,*(*(*bar)())(),*baz(); 76}/*1*/ 77 78 79 80test2(y) 81# 69 "example.c" 82charstar y; 83{/*1*/ 84 int foo = 5,atoi(); 85 86 foo /* end dcls */= 5,atoi(y); 87}/*1*/ 88 89 90 91test3,test4(); 92 93test5(y) 94# 80 "example.c" 95int y; 96{/*1*/ 97 /* end dcls */{/*2*/ 98 test3/* end dcls */; 99 }/*2*/ 100 {/*2*/ 101 test4/* end dcls */(y); 102 }/*2*/ 103}/*1*/ 104 105test6[1],test7(); 106 107test7(x) 108# 92 "example.c" 109int x; 110{/*1*/ 111 /* end dcls */{/*2*/ 112 test6/* end dcls */[1]; 113 }/*2*/ 114 {/*2*/ 115 test7/* end dcls */(x); 116 }/*2*/ 117}/*1*/ 118 119 120 121struct {/*1*/ 122 struct {/*2*/ 123 int (*f)(), o; 124 }/*2*/ bar; 125}/*1*/ (*baz2)()= (struct { struct { int (*f)(), o; } bar; } (*)()) 0; 126 127 128 129test8(x) 130{/*1*/ 131 /* end dcls */{/*2*/ 132 struct {/*3*/ 133 int foo; 134 }/*3*/ bar(); 135 }/*2*/ 136 {/*2*/ 137 /* end dcls */do {/*3*/ 138 int foo; 139 }/*3*/ while (x); 140 }/*2*/ 141}/*1*/ 142 143 144 145test9(bar) 146# 128 "example.c" 147char *bar; 148{/*1*/ 149 foo/* end dcls */(*bar); 150}/*1*/ 151 152 153 154test10(x) 155# 135 "example.c" 156int x; 157{/*1*/ 158 /* end dcls */{/*2*/ 159 int test10(); 160 /* end dcls */do test10(x); 161 while (x); 162 }/*2*/ 163 {/*2*/ 164 /* end dcls */return test10(x); 165 }/*2*/ 166}/*1*/ 167 168test11(x) 169# 147 "example.c" 170int *x; 171{/*1*/ 172 /* end dcls */while (*x) 173 (putchar(*x++)); 174}/*1*/ 175 176test11a(x) 177# 153 "example.c" 178int *x; 179{/*1*/ 180 /* end dcls */for (*x;;) 181 (putchar(*x++)); 182}/*1*/ 183 184 185 186test12() 187{/*1*/ 188 char *x = 189# 1 "/dev/null" 1 190# 165 "example.c" 2 191# 163 "example.c" 192"\017\0002\002\002\002\007bar" 193 194 ; 195 196 printf/* end dcls */("foobarbaz" ); 197 198 *x = '\007'; 199 *x = '\377'; 200}/*1*/ 201 202int test13(); 203 204 205 206test14(); 207 208charstar test15 = "foobar"; 209 210char test16 = "foo\007bar"; 211 212 213 214 215test17(foo) 216# 186 "example.c" 217charstar foo[bar]; 218# 186 "example.c" 219{/*1*/}/*1*/ 220 221int (*(*test18[bar])())()= (int (*(*[bar])())()) 0; 222 223 224 225 226int (*(*test19())())(); 227 228 229 230void test20(test21) 231# 197 "example.c" 232int test21(); 233# 197 "example.c" 234{/*1*/}/*1*/ 235 236void test22(test23) 237# 199 "example.c" 238struct { int foo; } test23(); 239# 199 "example.c" 240{/*1*/}/*1*/ 241 242 243 244void test23() 245{/*1*/ 246 int (*test24())(), 247 y = (*test24(2)) (3), 248 z = ((*test24(2))(3)); 249}/*1*/ 250 251 252 253int (*(*test25(foo))())() 254# 212 "example.c" 255long foo; 256# 212 "example.c" 257{/*1*/ }/*1*/ 258 259int (*(*test26(foo))())() 260long foo; 261{/*1*/ }/*1*/ 262 263 264 265void functie(cmdlin,c1) 266# 220 "example.c" 267struct {int l; char c[1];} *cmdlin; 268# 220 "example.c" 269struct {int l; char c[1];} *c1; 270{/*1*/ 271}/*1*/ 272