xref: /freebsd/usr.bin/indent/tests/declarations.0 (revision a2aef24aa3c8458e4036735dd6928b4ef77294e5)
1/* $FreeBSD$ */
2/* See r303570 */
3
4static const struct
5{
6	double		x;
7	double		y, z;
8} n[m + 1] =
9{
10	{
11		.0,
12		.9,
13		5
14	}
15};
16
17typedef struct Complex
18{
19	double		x;
20	double		y;
21}	Complex;
22
23void
24t1 (char *a, int b,
25	void (*fn)(void))
26{}
27
28void t2 (char *x, int y)
29{
30	int a,
31	b,
32	c;
33	int
34	*d,
35	*e,
36	*f;
37	int (*g)(),
38	(*h)(),
39	(*i)();
40	int j,
41	k,
42	l;
43	int m
44	,n
45	,o
46	;
47}
48
49const int	int_minimum_size =
50MAXALIGN(offsetof(int, test)) + MAXIMUM_ALIGNOF;
51
52int *int_create(void)
53{
54
55}
56
57static
58_attribute_printf(1, 2)
59void
60print_error(const char *fmt,...)
61{
62
63}
64
65static LIST_HEAD(, alq) ald_active;
66static int ald_shutingdown = 0;
67struct thread *ald_thread;
68
69static int
70do_execve(td, args, mac_p)
71	struct thread *td;
72	struct image_args *args;
73	struct mac *mac_p;
74{
75
76}
77