summaryrefslogtreecommitdiff
path: root/tests/usr.bin/indent/token_switch_expr.c
blob: 10198813181f4aa3f21bbe8b8b074edcabc38f8c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/* $NetBSD: token_switch_expr.c,v 1.1 2021/10/18 22:30:34 rillig Exp $ */
/* $FreeBSD$ */

/*
 * Tests for the keyword 'switch' followed by a parenthesized expression.
 */

#indent input
void
function(void)
{
	switch (expr) {
	}
}
#indent end

#indent run-equals-input