xref: /freebsd/usr.bin/indent/tests/declarations.0.stdout (revision 2e3507c25e42292b45a5482e116d278f5515d04d)
1/* See r303570 */
2
3typedef void (*voidptr) (int *);
4
5static const struct {
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	double		x;
19	double		y;
20}		Complex;
21
22void
23t1(char *a, int b,
24   void (*fn) (void))
25{
26}
27
28void
29t2(char *x, int y)
30{
31	int		a, b, c;
32	int
33		       *d, *e, *f;
34	int		(*g) (), (*h) (), (*i) ();
35	int		j, k, l;
36	int		m
37		       ,n
38		       ,o
39		       ;
40	int		chars[ /* push the comma beyond column 74 .... */ ],
41			x;
42}
43
44const int	int_minimum_size =
45MAXALIGN(offsetof(int, test)) + MAXIMUM_ALIGNOF;
46
47int	       *
48int_create(void)
49{
50
51}
52
53static
54_attribute_printf(1, 2)
55void
56print_error(const char *fmt,...)
57{
58
59}
60
61static LIST_HEAD(, alq) ald_active;
62static int	ald_shutingdown = 0;
63struct thread  *ald_thread;
64
65static int
66do_execve(td, args, mac_p)
67	struct thread  *td;
68	struct image_args *args;
69	struct mac     *mac_p;
70{
71
72}
73