Index: comments.0 =================================================================== --- comments.0 +++ comments.0 @@ -0,0 +1,25 @@ +/* $FreeBSD$ */ +/* See r303597, r303598, r309219, and r309343 */ +void t(void) { + /* + * Old indent wrapped the URL near where this sentence ends. + * + * https://www.freebsd.org/cgi/man.cgi?query=indent&apropos=0&sektion=0&manpath=FreeBSD+12-current&arch=default&format=html + */ + + /* + * Old indent did not wrap to column 78 + * + * aaaaaa bbbbbb cccccc dddddd eeeeee ffffff ggggg hhhhh iiiii jjjj kk + */ + + /* + * Old indent unnecessarily removed the star comment continuation on the next line. + * + * *test* + */ + + /* r309219 Go through linked list, freeing from the malloced (t[-1]) address. */ + + /* r309343 */ +} Index: comments.0.stdout =================================================================== --- comments.0.stdout +++ comments.0.stdout @@ -0,0 +1,32 @@ +/* $FreeBSD$ */ +/* See r303597, r303598, r309219, and r309343 */ +void +t(void) +{ + /* + * Old indent wrapped the URL near where this sentence ends. + * + * https://www.freebsd.org/cgi/man.cgi?query=indent&apropos=0&sektion=0&manpath=FreeBSD+12-current&arch=default&format=html + */ + + /* + * Old indent did not wrap to column 78 + * + * aaaaaa bbbbbb cccccc dddddd eeeeee ffffff ggggg hhhhh iiiii jjjj + * kk + */ + + /* + * Old indent unnecessarily removed the star comment continuation on + * the next line. + * + * *test* + */ + + /* + * r309219 Go through linked list, freeing from the malloced (t[-1]) + * address. + */ + + /* r309343 */ +} Index: declarations.0 =================================================================== --- declarations.0 +++ declarations.0 @@ -0,0 +1,21 @@ +/* $FreeBSD$ */ +/* See r303570 */ +void t(void) { + int a, + b, + c; + int + *d, + *e, + *f; + int (*g)(), + (*h)(), + (*i)(); + int j, + k, + l; + int m + ,n + ,o + ; +} Index: declarations.0.stdout =================================================================== --- declarations.0.stdout +++ declarations.0.stdout @@ -0,0 +1,15 @@ +/* $FreeBSD$ */ +/* See r303570 */ +void +t(void) +{ + int a, b, c; + int + *d, *e, *f; + int (*g) (), (*h) (), (*i) (); + int j, k, l; + int m + ,n + ,o + ; +} Index: elsecomment.0 =================================================================== --- elsecomment.0 +++ elsecomment.0 @@ -0,0 +1,18 @@ +/* $FreeBSD$ */ +/* See r303484 and r309342 */ +void t(void) { + if (0) { + + } /* Old indent would remove the following blank line */ + + /* + * test + */ + + if (1) + ; + else /* Old indent would get very confused here */ + { + + } +} Index: elsecomment.0.stdout =================================================================== --- elsecomment.0.stdout +++ elsecomment.0.stdout @@ -0,0 +1,22 @@ +/* $FreeBSD$ */ +/* See r303484 and r309342 */ +void +t(void) +{ + if (0) + { + + } /* Old indent would remove the following + * blank line */ + + /* + * test + */ + + if (1) + ; + else /* Old indent would get very confused here */ + { + + } +} Index: elsecomment.pro =================================================================== --- elsecomment.pro +++ elsecomment.pro @@ -0,0 +1 @@ +-bl \ No newline at end of file Index: float.0 =================================================================== --- float.0 +++ float.0 @@ -0,0 +1,6 @@ +/* $FreeBSD$ */ +/* See r303499 */ +void t(void) { + unsigned long x = 314UL; + float y = 3.14f; +} Index: float.0.stdout =================================================================== --- float.0.stdout +++ float.0.stdout @@ -0,0 +1,8 @@ +/* $FreeBSD$ */ +/* See r303499 */ +void +t(void) +{ + unsigned long x = 314UL; + float y = 3.14f; +} Index: label.0 =================================================================== --- label.0 +++ label.0 @@ -0,0 +1,13 @@ +/* $FreeBSD$ */ +/* See r303489 */ +void t(void) { + switch (1) + { + case 1: /* test */ + case 2: /* test */ + } +CLEANUP: + ; +V: ; +U: ; +} Index: label.0.stdout =================================================================== --- label.0.stdout +++ label.0.stdout @@ -0,0 +1,14 @@ +/* $FreeBSD$ */ +/* See r303489 */ +void +t(void) +{ + switch (1) { + case 1: /* test */ + case 2: /* test */ + } +CLEANUP: + ; +V: ; +U: ; +} Index: label.pro =================================================================== --- label.pro +++ label.pro @@ -0,0 +1 @@ +-nut \ No newline at end of file Index: list_head.0 =================================================================== --- list_head.0 +++ list_head.0 @@ -0,0 +1,16 @@ +/* $FreeBSD$ */ +/* See r309380 */ +static int +do_execve(td, args, mac_p) + struct thread *td; + struct image_args *args; + struct mac *mac_p; +{ + +} + +static LIST_HEAD(, alq) ald_active; +static int ald_shuttingdown = 0; +struct thread *ald_thread; + + Index: list_head.0.stdout =================================================================== --- list_head.0.stdout +++ list_head.0.stdout @@ -0,0 +1,14 @@ +/* $FreeBSD$ */ +/* See r309380 */ +static int +do_execve(td, args, mac_p) + struct thread *td; + struct image_args *args; + struct mac *mac_p; +{ + +} + +static LIST_HEAD(, alq) ald_active; +static int ald_shuttingdown = 0; +struct thread *ald_thread; Index: nsac.0 =================================================================== --- nsac.0 +++ nsac.0 @@ -0,0 +1,4 @@ +/* $FreeBSD$ */ +void t(void) { + int a = (double) 8; +} Index: nsac.0.stdout =================================================================== --- nsac.0.stdout +++ nsac.0.stdout @@ -0,0 +1,6 @@ +/* $FreeBSD$ */ +void +t(void) +{ + int a = (double)8; +} Index: nsac.pro =================================================================== --- nsac.pro +++ nsac.pro @@ -0,0 +1 @@ +-nsac \ No newline at end of file Index: offsetof.0 =================================================================== --- offsetof.0 +++ offsetof.0 @@ -0,0 +1,5 @@ +/* $FreeBSD$ */ +/* See r303718 */ +void t(void) { + int ntable = malloc(offsetof(struct fdescenttbl, fdt_ofiles) + 1); +} Index: offsetof.0.stdout =================================================================== --- offsetof.0.stdout +++ offsetof.0.stdout @@ -0,0 +1,7 @@ +/* $FreeBSD$ */ +/* See r303718 */ +void +t(void) +{ + int ntable = malloc(offsetof(struct fdescenttbl, fdt_ofiles) + 1); +} Index: sac.0 =================================================================== --- sac.0 +++ sac.0 @@ -0,0 +1,4 @@ +/* $FreeBSD$ */ +void t(void) { + int a = (double) 8; +} Index: sac.0.stdout =================================================================== --- sac.0.stdout +++ sac.0.stdout @@ -0,0 +1,6 @@ +/* $FreeBSD$ */ +void +t(void) +{ + int a = (double) 8; +} Index: sac.pro =================================================================== --- sac.pro +++ sac.pro @@ -0,0 +1 @@ +-sac \ No newline at end of file Index: struct.0 =================================================================== --- struct.0 +++ struct.0 @@ -0,0 +1,13 @@ +/* $FreeBSD$ */ +/* See r303485 */ +void +t(void) +{ + static const struct { + int a; + int b; + } c[] = { + { D, E }, + { F, G } + }; +} Index: struct.0.stdout =================================================================== --- struct.0.stdout +++ struct.0.stdout @@ -0,0 +1,13 @@ +/* $FreeBSD$ */ +/* See r303485 */ +void +t(void) +{ + static const struct { + int a; + int b; + } c[] = { + {D, E}, + {F, G} + }; +} Index: surplusbad.0 =================================================================== --- surplusbad.0 +++ surplusbad.0 @@ -0,0 +1,9 @@ +/* $FreeBSD$ */ +/* See r303599 */ +#if defined(__i386__) +int a; +#elif defined(__amd64__) +int b; +#else +#error "Port me" +#endif Index: surplusbad.0.stdout =================================================================== --- surplusbad.0.stdout +++ surplusbad.0.stdout @@ -0,0 +1,9 @@ +/* $FreeBSD$ */ +/* See r303599 */ +#if defined(__i386__) +int a; +#elif defined(__amd64__) +int b; +#else +#error "Port me" +#endif Index: surplusbad.pro =================================================================== --- surplusbad.pro +++ surplusbad.pro @@ -0,0 +1 @@ +-bad \ No newline at end of file Index: types_from_file.0 =================================================================== --- types_from_file.0 +++ types_from_file.0 @@ -0,0 +1,3 @@ +/* $FreeBSD$ */ +/* See r303735 */ +void t(a *x, b *y, c *z); Index: types_from_file.0.stdout =================================================================== --- types_from_file.0.stdout +++ types_from_file.0.stdout @@ -0,0 +1,3 @@ +/* $FreeBSD$ */ +/* See r303735 */ +void t(a *x, b *y, c * z); Index: types_from_file.list =================================================================== --- types_from_file.list +++ types_from_file.list @@ -0,0 +1,2 @@ +b +a \ No newline at end of file Index: types_from_file.pro =================================================================== --- types_from_file.pro +++ types_from_file.pro @@ -0,0 +1 @@ +-Utypes_from_file.list Index: wchar.0 =================================================================== --- wchar.0 +++ wchar.0 @@ -0,0 +1,6 @@ +/* $FreeBSD$ */ +/* See r309220 */ +#include + +wchar_t *x = L"test"; +wchar_t y = L't'; Index: wchar.0.stdout =================================================================== --- wchar.0.stdout +++ wchar.0.stdout @@ -0,0 +1,6 @@ +/* $FreeBSD$ */ +/* See r309220 */ +#include + +wchar_t *x = L"test"; +wchar_t y = L't';