lsym_case_label.c revision 1.2
1/* $NetBSD: lsym_case_label.c,v 1.2 2021/11/20 16:54:17 rillig Exp $ */ 2/* $FreeBSD$ */ 3 4/* 5 * Tests for the token lsym_case_label, which represents either the keyword 6 * 'case' or the keyword 'default', which are both used in 'switch' 7 * statements. 8 * 9 * Since C11, the keyword 'default' is used in _Generic selections as well. 10 * 11 * See also: 12 * opt_cli.c 13 * psym_switch_expr.c 14 * C11 6.5.1.1 "Generic selection" 15 */ 16 17// TODO: test C11 _Generic 18 19#indent input 20// TODO: add input 21#indent end 22 23#indent run-equals-input 24