2
void badFunc(int *badStyle);
4
int dots_1(int p1, ...);
5
int dots_3(int P1, char P2, ...);
7
_FIRST *func2(_FIRST *P1 , int P2 [], float p);
8
int *(func_func)(int p1, int p2, int p3);
9
int main(register argc, char **argv);
10
int veryfunny(char *a, long b, long c);
11
int program(string argv[], struct alpha y, int zz, int z1, int z2, int z3);
17
extern_junk *foo(void);
18
void_junk *foo2a(void);
19
void_junk *foo2(void);
20
void_junk *foo_void(void_junk void_int);
21
void (*Sigdisp(int sig, void (*func)(int sig)))(int sig1);
22
void (*sigdisp2(int sig, void (*func)(int sig)))(int sig2);
23
int (*K_R_INT_ptr(long *p1, int p2))(void);
24
void (*K_R_VOID_ptr(long *p1, int p2))(void);
25
int *K_R_int_ptr(long *p1, int p2);
26
void *K_R_void_ptr(long *p1, int p2);
27
int K_R_int_val(long *p1, int p2);
28
int K_R_int_val2(long *p1, int p2);
29
void K_R_void_val(long *p1, int p2);
30
int K_R_void_val2(long *p1, int p2);
31
... edited case16.c ...
34
* ERR_YACC to force yacc error reporting
35
* ERR_LEX to force lex error reporting
36
* ERR_CHECK to force compiler error reporting
38
/* use one item from type-specifiers */
75
typedef struct _first {
80
char b:16, b1:1; /* comment with };};}; */
94
void badFunc(int *badStyle) { }
96
_FIRST first, last={0}, first_last[] = {{0},{1},{2},{3,{4}}};
99
enum {true, false} bool;
100
enum {wrong=1, right=3} values;
121
0x1.2.34, /* error */
129
#ifdef __STDC_VERSION__ /* ( C9X supports hexadecimal floating point ;-) */
142
* This grammar can accept some illegal stuff too, in particular it will
143
* permit some instances of parameter-names to be dropped.
155
/* ellipsis is legal, except in K&R style declaration */
158
dots_0 (int p1) { return(1); }
160
dots_1(int p1, ...) { return(1); }
163
dots_2(p1, ...) { return(1); }
166
dots_3(int P1,char P2, ...) { return(1); }
168
int dots_4(int,char, char *);
169
char * dots_5(int,char, char *, ...);
171
extern _FIRST *xdots_0(p1);
173
extern char *xdots_1(int p1, ...);
176
extern xdots_2(p1, ...);
179
extern xdots_3(int P1,char P2, ...);
183
_FIRST *func2(_FIRST *P1,int P2[],float p) { }
186
func_func) (int p1, int p2, int p3) { return(0); }
188
extern float efunc0(p1,p2,p3);
189
extern _FIRST efunc1(int p1, float p2,long P3);
191
extern _FIRST efunc1(int p1, float p2,p3);
201
struct ZIP1 { int x1, y1; };
202
struct zip2 { int x2, y2; } z2;
203
struct { int x3, y3; } z3; /* not ANSI, but mostly accepted */
205
static struct ZIP4 { int x4, y4; };
206
static struct zip5 { int x5, y5; } z5;
207
static struct zip6 { int x6, y6; } z6, w6;
208
static struct { int x7, y7; } z7;
209
static struct { int x8, y8; } z8, w8;
211
enum zap1 { a,b,c,d } what;
213
enum {a9,b9,c9,d9} what3;
215
static char *zap = "alphabet/\
218
typedef struct bong {
222
typedef char *string;
225
string s = "aaa\0000\
233
main (register argc, extern char **argv)
238
/* some other comment */
240
veryfunny (char *a, long b, long c)
248
string argv[], /* first argument */
249
struct alpha y, /* second argument */
260
junk0 (void) { if(junk != 6) return; else junk++; }
262
junk1 (void) { return (0); }
266
junk3 (void) { return 1; }
271
typedef int extern_junk;
275
typedef int void_junk;
278
extern void_junk *foo2a();
281
void_junk *foo_void(void_junk void_int) { }
285
extern void (*sigdisp(int sig, void (*func)(int sig)))(int sig);
287
void (*Sigdisp(int sig, void (*func)(int sig)))(int sig1)
292
int sig, /* the signal value */
293
void (*func)(int sig) /* the function pointer */
295
{ /* nothing again! */ }
298
K_R_INT_ptr (long *p1, int p2))(void) { return (*(int(*)())0); }
300
int (*STD_INT_ptr(long* , int))();
303
K_R_VOID_ptr (long *p1, int p2))(void) { return (*(void(*)())0); }
305
void (*STD_VOID_ptr(long* , int))();
308
K_R_int_ptr (long *p1, int p2) { return (*(int **)0); }
310
int **STD_int2_ptr(long* , int);
312
int *STD_int_ptr(long* , int);
315
K_R_void_ptr (long *p1, int p2) { return (*(void **)0); }
317
void *STD_void_ptr(long* , int);
320
K_R_int_val (long *p1, int p2) { return (*(int *)0); }
323
K_R_int_val2 (long *p1, int p2) { return (*(int *)0); }
325
int STD_int_val(long*, int);
328
K_R_void_val (long *p1, int p2) { /*void*/ }
336
void STD_void_val(long* , int);
338
extern xdots_3(int P1,char P2, ...);
340
extern int (*XSetAfterFunction(long* , int (*) ( long*)))();
341
extern XQueryKeymap(long*, char [32]);
342
extern Another(long*, int (*)());
344
extern GenFunc(int *, int *());
346
/* these are pointers, not actual functions */
347
extern void * (*__glob_opendir_hook) (const char *__directory);
348
extern const char *(*__glob_readdir_hook) (void * __stream);
349
extern void (*__glob_closedir_hook) (void * __stream);