Debian Codegraph @

src/tools/pg_bsd_indent/tests/comments.0.stdout

raw
1 /* $FreeBSD$ */
2 typedef enum x {
3 aaaaaaaaaaaaaaaaaaaaaa = 1 << 0, /* test a */
4 bbbbbbbbbbbbbbbbb = 1 << 1, /* test b */
5 cccccccccccccc = 1 << 1, /* test c */
6 dddddddddddddddddddddddddddddd = 1 << 2 /* test d */
7 } x;
8
9 /* See r303597, r303598, r309219, and r309343 */
10 void
11 t(void)
12 {
13 /*
14 * Old indent wrapped the URL near where this sentence ends.
15 *
16 * https://www.freebsd.org/cgi/man.cgi?query=indent&apropos=0&sektion=0&manpath=FreeBSD+12-current&arch=default&format=html
17 */
18
19 /*
20 * Old indent did not wrap to column 78
21 *
22 * aaaaaa bbbbbb cccccc dddddd eeeeee ffffff ggggg hhhhh iiiii jjjj
23 * kk
24 */
25
26 /*
27 * Old indent unnecessarily removed the star comment continuation on
28 * the next line.
29 *
30 * *test*
31 */
32
33 /*
34 * r309219 Go through linked list, freeing from the malloced (t[-1])
35 * address.
36 */
37
38 /* r309343 */
39 }
40
41 int
42 c(void)
43 {
44 if (1) { /*- a christmas tree *
45 ***
46 ***** */
47 /*- another one *
48 ***
49 ***** */
50 7;
51 }
52
53 if (1) /*- a christmas tree *
54 ***
55 ***** */
56 /*- another one *
57 ***
58 ***** */
59 1;
60 }