opt_lc.c revision 1.3
1/* $NetBSD: opt_lc.c,v 1.3 2022/04/22 21:21:20 rillig Exp $ */ 2 3/* 4 * Tests for the option '-lc', which specifies the maximum line length for 5 * block comments. This option does not apply to comments to the right of the 6 * code though, or to the code itself. 7 */ 8 9#indent input 10/* 11 * This block comment starts in column 1, it is broken into separate lines. 12 */ 13 14int decl; /* This is not a 15 * block comment, it is not affected by the option '-lc'. 16 */ 17#indent end 18 19#indent run -di0 -c17 -lc38 20/* 21 * This block comment starts in column 22 * 1, it is broken into separate 23 * lines. 24 */ 25 26int decl; /* This is not a block comment, it is not affected by the 27 * option '-lc'. */ 28#indent end 29