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