1/* LINTLIBRARY */
2
3/* case13.c */
4
5static	x2;
6
7typedef int x4t;
8
9char	x6;
10short	x7;
11int	x8;
12long	x9;
13float	x10;
14double	x11;
15signed	x12;
16unsigned x13;
17
18struct x14;
19
20union x15;
21
22enum x16;
23
24x4t;
25
26x4t	x17;
27const	x18 = {0};
28volatile x19;
29
30typedef struct _first {
31 int a:5;
32 struct {
33  int a,b;
34 } b_struct;
35 char b:16, b1:1;
36 long c:16, c1;
37 short d:16, d1:8, d2;
38 unsigned e:16;
39 float f;
40 double g;
41 struct _first *link;
42 } _FIRST;
43
44typedef int badStyle;
45
46void	badFunc(badStyle)
47		int	*badStyle;
48		{ /* void */ }
49
50_FIRST	first;
51_FIRST	last;
52_FIRST	first_last[];
53struct _second {
54  enum {true, false} bool;
55  enum {wrong=1, right=3} values;
56 } _SECOND;
57int	i[];
58float	f[];
59int	array[][10][20];
60
61int	dots_0(p1)
62		int	p1;
63		{ return(*(int *)0); }
64
65	/* VARARGS1 */
66int	dots_1(p1)
67		int	p1;
68		{ return(*(int *)0); }
69
70	/* VARARGS2 */
71int	dots_3(p1, p2)
72		int	p1;
73		char	p2;
74		{ return(*(int *)0); }
75
76_FIRST	*func1()
77		{ return(*(_FIRST **)0); }
78
79_FIRST	*func2(p1, p2, p)
80		_FIRST	*p1;
81		int	p2[];
82		float	p;
83		{ return(*(_FIRST **)0); }
84
85int	*(func_func)()
86		{ return(*(int **)0); }
87
88typedef int bool;
89
90bool	a1;
91static bool a2;
92
93struct ZIP1 { int x1, y1; };
94
95struct zip2 { int x2, y2; } z2;
96struct { int x3, y3; } z3;
97
98struct ZIP4 { int x4, y4; };
99
100static struct zip5 { int x5, y5; } z5;
101static struct zip6 { int x6, y6; } z6;
102static struct zip6 { int x6, y6; } w6;
103static struct { int x7, y7; } z7;
104static struct { int x8, y8; } z8;
105static struct { int x8, y8; } w8;
106enum zap1 { a,b,c,d } what;
107enum zap2 what2;
108enum {a9,b9,c9,d9} what3;
109static char *zap;
110
111typedef struct bong {
112 int (*func)();
113 } BONG;
114
115typedef char *string;
116
117void	main(argc, argv)
118		int	argc;
119		char	**argv;
120		{ /* void */ }
121
122	/* VARARGS */
123int	veryfunny(a, b, c)
124		char	*a;
125		long	b;
126		long	c;
127		{ return(*(int *)0); }
128
129	/* VARARGS3 */
130int	program(argv, y, zz, z1, z2, z3)
131		string	argv[];
132		struct alpha { int x,z; } y;
133		int	zz;
134		int	z1;
135		int	z2;
136		int	z3;
137		{ return(*(int *)0); }
138
139void	junk0()
140		{ /* void */ }
141
142int	junk1()
143		{ return(*(int *)0); }
144
145void	junk2()
146		{ /* void */ }
147
148int	junk3()
149		{ return(*(int *)0); }
150
151BONG	*junk4()
152		{ return(*(BONG **)0); }
153
154typedef int extern_junk;
155
156extern_junk *foo()
157		{ return(*(extern_junk **)0); }
158
159typedef int void_junk;
160
161void_junk *foo2a()
162		{ return(*(void_junk **)0); }
163
164void_junk *foo2()
165		{ return(*(void_junk **)0); }
166
167void_junk *foo_void(void_int)
168		void_junk void_int;
169		{ return(*(void_junk **)0); }
170
171static void_junk *foo_void2()
172		{ return(*(void_junk **)0); }
173
174void	(*Sigdisp(sig, func))()
175		int	sig;
176		void	(*func)();
177		{ return(*(void(*)())0); }
178
179void	(*sigdisp2(sig, func))()
180		int	sig;
181		void	(*func)();
182		{ return(*(void(*)())0); }
183
184int	(*K_R_INT_ptr(p1, p2))()
185		long	*p1;
186		int	p2;
187		{ return(*(int(*)())0); }
188
189void	(*K_R_VOID_ptr(p1, p2))()
190		long	*p1;
191		int	p2;
192		{ return(*(void(*)())0); }
193
194int	*K_R_int_ptr(p1, p2)
195		long	*p1;
196		int	p2;
197		{ return(*(int **)0); }
198
199void	*K_R_void_ptr(p1, p2)
200		long	*p1;
201		int	p2;
202		{ return(*(void **)0); }
203
204int	K_R_int_val(p1, p2)
205		long	*p1;
206		int	p2;
207		{ return(*(int *)0); }
208
209int	K_R_int_val2(p1, p2)
210		long	*p1;
211		int	p2;
212		{ return(*(int *)0); }
213
214void	K_R_void_val(p1, p2)
215		long	*p1;
216		int	p2;
217		{ /* void */ }
218
219void	K_R_void_val2(p1, p2)
220		long	*p1;
221		int	p2;
222		{ /* void */ }
223
224long long xxx;
225char	*xxs;
226