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