lsym_case_label.c revision 1.1
1/* $NetBSD: lsym_case_label.c,v 1.1 2021/11/18 21:19:19 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 * psym_switch_expr.c 13 * C11 6.5.1.1 "Generic selection" 14 */ 15 16// TODO: test C11 _Generic 17 18#indent input 19// TODO: add input 20#indent end 21 22#indent run-equals-input 23