]> git.sur5r.net Git - openldap/blob - build/unproto/example.out
ITS#1991 fix + use struct berval
[openldap] / build / unproto / example.out
1 # 1 "example.c" 
2  
3
4
5
6
7
8 typedef char *charstar;
9
10  
11
12
13
14
15 x(
16
17
18
19 baz)
20 # 14 "example.c"
21 struct {
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
33 int (*(*bar0)())();
34
35  
36
37 baz0(bar)
38 int (*(*bar)())();
39 {/*1*/}/*1*/
40
41  
42
43
44
45
46
47 foo(bar)
48 # 38 "example.c"
49 int (*(*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
73 test1()
74 {/*1*/
75         int foo2,*(*(*bar)())(),*baz();
76 }/*1*/
77
78
79
80 test2(y)
81 # 69 "example.c"
82 charstar y;
83 {/*1*/
84         int foo = 5,atoi();
85
86         foo /* end dcls */= 5,atoi(y);
87 }/*1*/
88
89
90
91 test3,test4();
92
93 test5(y)
94 # 80 "example.c"
95 int 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
105 test6[1],test7();
106
107 test7(x)
108 # 92 "example.c"
109 int 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
121 struct {/*1*/
122     struct {/*2*/
123         int (*f)(), o;
124     }/*2*/ bar;
125 }/*1*/ (*baz2)()= (struct { struct { int (*f)(), o; } bar; } (*)()) 0;
126
127
128
129 test8(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
145 test9(bar)
146 # 128 "example.c"
147 char *bar;
148 {/*1*/
149     foo/* end dcls */(*bar);
150 }/*1*/
151
152
153
154 test10(x)
155 # 135 "example.c"
156 int 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
168 test11(x)
169 # 147 "example.c"
170 int *x;
171 {/*1*/
172         /* end dcls */while (*x)
173             (putchar(*x++));
174 }/*1*/
175
176 test11a(x)
177 # 153 "example.c"
178 int *x;
179 {/*1*/
180         /* end dcls */for (*x;;)
181             (putchar(*x++));
182 }/*1*/
183
184
185
186 test12()
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
202 int test13();
203
204
205
206 test14();
207
208 charstar test15 = "foobar";
209
210 char test16 = "foo\007bar";
211
212
213
214
215 test17(foo)
216 # 186 "example.c"
217 charstar foo[bar];
218 # 186 "example.c"
219 {/*1*/}/*1*/
220
221 int (*(*test18[bar])())()=      (int (*(*[bar])())()) 0;
222
223
224
225
226 int (*(*test19())())();
227
228
229
230 void test20(test21)
231 # 197 "example.c"
232 int test21();
233 # 197 "example.c"
234 {/*1*/}/*1*/
235
236 void test22(test23)
237 # 199 "example.c"
238 struct { int foo; } test23();
239 # 199 "example.c"
240 {/*1*/}/*1*/
241
242
243
244 void    test23()
245 {/*1*/
246     int     (*test24())(),
247             y = (*test24(2)) (3),
248             z = ((*test24(2))(3));
249 }/*1*/
250
251
252
253 int (*(*test25(foo))())()
254 # 212 "example.c"
255 long foo;
256 # 212 "example.c"
257 {/*1*/  }/*1*/
258
259 int (*(*test26(foo))())()
260 long foo;
261 {/*1*/  }/*1*/
262
263
264
265 void functie(cmdlin,c1)
266 # 220 "example.c"
267 struct {int l; char c[1];} *cmdlin;
268 # 220 "example.c"
269 struct {int l; char c[1];} *c1;
270 {/*1*/
271 }/*1*/