lsym_rparen_or_rbracket.c revision 1.4
1/* $NetBSD: lsym_rparen_or_rbracket.c,v 1.4 2022/04/24 10:36:37 rillig Exp $ */ 2 3/* 4 * Tests for the token lsym_rparen_or_lbracket, which represents ')' or ']', 5 * the counterparts for '(' and '['. 6 * 7 * See also: 8 * lsym_lparen_or_lbracket.c 9 */ 10 11//indent input 12int var = (3); 13int cast = (int)3; 14int cast = (int)(3); 15int call = function(3); 16int array[3] = {1, 2, 3}; 17int array[3] = {[2] = 3}; 18//indent end 19 20//indent run-equals-input -di0 21