xref: /freebsd/usr.bin/indent/tests/comments.0 (revision 1c05a6ea6b849ff95e539c31adea887c644a6a01)
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 t(void) {
11	/*
12	 * Old indent wrapped the URL near where this sentence ends.
13	 *
14	 * https://www.freebsd.org/cgi/man.cgi?query=indent&apropos=0&sektion=0&manpath=FreeBSD+12-current&arch=default&format=html
15	 */
16
17	/*
18	 * Old indent did not wrap to column 78
19	 *
20	 * aaaaaa bbbbbb cccccc dddddd eeeeee ffffff ggggg hhhhh iiiii jjjj kk
21	 */
22
23	/*
24	 * Old indent unnecessarily removed the star comment continuation on the next line.
25	 *
26	 * *test*
27	 */
28
29	/* r309219 Go through linked list, freeing from the malloced (t[-1]) address. */
30
31	/* r309343	*/
32}
33