summaryrefslogtreecommitdiffstats
path: root/src/tools/pg_bsd_indent/tests/declarations.0
blob: 84194949894544510c3a3880f2c00fe7b1426078 (plain)
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
/* $FreeBSD$ */
/* See r303570 */

typedef void 	(*voidptr) (int *);

static const struct
{
	double		x;
	double		y, z;
} n[m + 1] =
{
	{
		.0,
		.9,
		5
	}
};

typedef struct Complex
{
	double		x;
	double		y;
}	Complex;

void 
t1 (char *a, int b,
	void (*fn)(void))
{}

void t2 (char *x, int y)
{
	int a,
	b,
	c;
	int
	*d,
	*e,
	*f;
	int (*g)(),
	(*h)(),
	(*i)();
	int j,
	k,
	l;
	int m
	,n
	,o
	;
	int		chars[ /* push the comma beyond column 74 .... */ ], x;
}

const int	int_minimum_size =
MAXALIGN(offsetof(int, test)) + MAXIMUM_ALIGNOF;

int *int_create(void)
{

}

static
_attribute_printf(1, 2)
void
print_error(const char *fmt,...)
{

}

static LIST_HEAD(, alq) ald_active;
static int ald_shutingdown = 0;
struct thread *ald_thread;

static int
do_execve(
struct thread *td,
struct image_args *args,
struct mac *mac_p)
{

}