File: case10.ref

package info (click to toggle)
cproto 4.7j-5
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 916 kB
  • sloc: ansic: 4,116; sh: 3,077; lex: 1,059; yacc: 870; makefile: 309
file content (92 lines) | stat: -rw-r--r-- 1,791 bytes parent folder | download | duplicates (14)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
/* case10.c */

typedef	int	x4t;

struct x14;

union x15;

enum x16;

x4t;

typedef	struct	_first	{
	int		a:5;
	struct	{
		int	a,b;
	} b_struct;
	char		b:16, b1:1;	 
	long		c:16, c1;
	short		d:16, d1:8, d2;
	unsigned	e:16;
	float		f;
	double		g;
	struct	_first	*link;
	}	_FIRST;

typedef int badStyle;

void badFunc(int *badStyle);

struct	_second	{
		enum	{true, false} bool;
		enum	{wrong=1, right=3} values;
	};

int dots_0(int p1);
int dots_1(int p1, ...);
int dots_3(int p1, char p2, ...);
_FIRST *func1(void);
_FIRST *func2(_FIRST *p1, int p2[], float p);
int *(func_func)(void);

typedef	int	bool;

struct	ZIP1	{ int x1, y1; };

struct	zip2	{ int x2, y2; };
struct		{ int x3, y3; };

struct	ZIP4	{ int x4, y4; };

struct	zip5	{ int x5, y5; };
struct	zip6	{ int x6, y6; };
struct		{ int x7, y7; };
struct		{ int x8, y8; };
enum	zap1	{ a,b,c,d };
enum		{a9,b9,c9,d9};

typedef	struct	bong	{
	int	(*func)();
	} BONG;

typedef	char	*string;

int main(register argc, char **argv);
int veryfunny(char *a, long b, long c);
int program(string argv[], struct	alpha { int x,z; } y, int zz, int z1, int z2, int z3);
int junk0(void);
int junk1(void);
int junk2(void);
int junk3(void);
BONG *junk4(void);

typedef	int	extern_junk;

extern_junk *foo(void);

typedef	int	void_junk;

void_junk *foo2a(void);
void_junk *foo2(void);
void_junk *foo_void(void_junk void_int);
void (*Sigdisp(int sig, void (*func)(int sig)))(int sig1);
void (*sigdisp2(int sig, void (*func)(int sig)))(int sig2);
int (*K_R_INT_ptr(long *p1, int p2))(void);
void (*K_R_VOID_ptr(long *p1, int p2))(void);
int *K_R_int_ptr(long *p1, int p2);
void *K_R_void_ptr(long *p1, int p2);
int K_R_int_val(long *p1, int p2);
int K_R_int_val2(long *p1, int p2);
void K_R_void_val(long *p1, int p2);
int K_R_void_val2(long *p1, int p2);