xref: /freebsd/usr.bin/indent/tests/f_decls.0 (revision 2a63c3be158216222d89a073dcbd6a72ee4aab5a)
1*9522d0b0SPiotr Pawel Stefaniak
2*9522d0b0SPiotr Pawel Stefaniakchar * x(void)
3*9522d0b0SPiotr Pawel Stefaniak{
4*9522d0b0SPiotr Pawel Stefaniak    type identifier;
5*9522d0b0SPiotr Pawel Stefaniak    type *pointer;
6*9522d0b0SPiotr Pawel Stefaniak    unused * value;
7*9522d0b0SPiotr Pawel Stefaniak    (void)unused * value;
8*9522d0b0SPiotr Pawel Stefaniak
9*9522d0b0SPiotr Pawel Stefaniak    dmax = (double)3 * 10.0;
10*9522d0b0SPiotr Pawel Stefaniak    dmin = (double)dmax * 10.0;
11*9522d0b0SPiotr Pawel Stefaniak    davg = (double)dmax * dmin;
12*9522d0b0SPiotr Pawel Stefaniak
13*9522d0b0SPiotr Pawel Stefaniak    return NULL;
14*9522d0b0SPiotr Pawel Stefaniak}
15*9522d0b0SPiotr Pawel Stefaniak
16*9522d0b0SPiotr Pawel Stefaniakint *
17*9522d0b0SPiotr Pawel Stefaniaky(void) {
18*9522d0b0SPiotr Pawel Stefaniak
19*9522d0b0SPiotr Pawel Stefaniak}
20*9522d0b0SPiotr Pawel Stefaniak
21*9522d0b0SPiotr Pawel Stefaniakint
22*9522d0b0SPiotr Pawel Stefaniakz(void) {
23*9522d0b0SPiotr Pawel Stefaniak
24*9522d0b0SPiotr Pawel Stefaniak}
25*9522d0b0SPiotr Pawel Stefaniak
26*9522d0b0SPiotr Pawel Stefaniakint x;
27*9522d0b0SPiotr Pawel Stefaniakint *y;
28*9522d0b0SPiotr Pawel Stefaniakint * * * * z;
29