opt_lc.c revision 1.2
11.2Srillig/* $NetBSD: opt_lc.c,v 1.2 2021/11/20 16:54:17 rillig Exp $ */
21.1Srillig/* $FreeBSD$ */
31.1Srillig
41.1Srillig/*
51.1Srillig * Tests for the option '-lc', which specifies the maximum line length for
61.1Srillig * block comments. This option does not apply to comments to the right of the
71.1Srillig * code though, or to the code itself.
81.1Srillig */
91.1Srillig
101.1Srillig#indent input
111.2Srillig/*
121.2Srillig * This block comment starts in column 1, it is broken into separate lines.
131.2Srillig */
141.1Srillig
151.2Srilligint decl;			/* This is not a
161.2Srillig				 * block comment, it is not affected by the option '-lc'.
171.2Srillig				 */
181.1Srillig#indent end
191.1Srillig
201.2Srillig#indent run -di0 -c17 -lc38
211.2Srillig/*
221.2Srillig * This block comment starts in column
231.2Srillig * 1, it is broken into separate
241.2Srillig * lines.
251.2Srillig */
261.2Srillig
271.2Srilligint decl;	/* This is not a block comment, it is not affected by the
281.2Srillig		 * option '-lc'. */
291.2Srillig#indent end
30