1/* $NetBSD: lsym_switch.c,v 1.5 2023/06/14 11:18:09 rillig Exp $ */
2
3/*
4 * Tests for the token lsym_switch, which represents the keyword 'switch' that
5 * starts a 'switch' statement.
6 *
7 * See also:
8 *	C11 6.8.4		"Selection statements"
9 *	C11 6.8.4.2		"The 'switch' statement"
10 */
11
12// TODO: Add systematic tests.
13
14/*
15 * Ensure that an unfinished 'switch' statement does not eat comments.
16 */
17//indent input
18{
19	switch (expr)		// comment
20	{
21	}
22}
23//indent end
24
25//indent run-equals-input
26