Training courses

Kernel and Embedded Linux

Bootlin training courses

Embedded Linux, kernel,
Yocto Project, Buildroot, real-time,
graphics, boot time, debugging...

Bootlin logo

Elixir Cross Referencer

/* $NetBSD: lsym_form_feed.c,v 1.8 2023/05/21 10:18:44 rillig Exp $ */

/*
 * Tests for the token lsym_form_feed, which represents a form feed, a special
 * kind of whitespace that is seldom used.  If it is used, it usually appears
 * on a line of its own, after an external-declaration, to force a page break
 * when printing the source code on actual paper.
 */

//indent input
void function_1(void);

void function_2(void);
//indent end

//indent run-equals-input -di0


/*
 * Test form feed after 'if (expr)', even though it does not occur in practice.
 */
//indent input
void function(void)
{
	if (expr)
	 /* <-- form feed */
	{
	}
}
//indent end

//indent run
void
function(void)
{
	if (expr)
				/* <-- form feed */
	{
	}
}
//indent end