xref: /freebsd/usr.bin/indent/tests/comments.0.stdout (revision 7c1b51d6dc2e165ae7333373513b080f17cf79bd)
1/* $FreeBSD$ */
2typedef 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 */
10void
11t(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