Fix a compiler warning in initStringInfo().
[pgsql.git] / src / tools / pg_bsd_indent / tests / comments.0.stdout
blob8ca5aa518c5ec91c495e610457f5a4a8bf1e824a
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;
9 /* See r303597, r303598, r309219, and r309343 */
10 void
11 t(void)
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          */
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          */
26         /*
27          * Old indent unnecessarily removed the star comment continuation on
28          * the next line.
29          *
30          * *test*
31          */
33         /*
34          * r309219 Go through linked list, freeing from the malloced (t[-1])
35          * address.
36          */
38         /* r309343      */
41 int
42 c(void)
44         if (1) {                /*- a christmas tree  *
45                                                      ***
46                                                     ***** */
47                 /*- another one *
48                                ***
49                               ***** */
50                 7;
51         }
53         if (1)                  /*- a christmas tree  *
54                                                      ***
55                                                     ***** */
56                 /*- another one *
57                                ***
58                               ***** */
59                 1;