1 /* $NetBSD: psym_if_expr.c,v 1.3 2022/04/23 09:01:03 rillig Exp $ */ 2 3 /* 4 * Tests for the parser symbol psym_if_expr, representing the parser state 5 * after reading the keyword 'if' and the controlling expression, now waiting 6 * for the statement of the 'then' branch. 7 */ 8 9 #indent input 10 void function(void) { 11 if(cond) stmt(); 12 } 13 #indent end 14 15 #indent run 16 void 17 function(void) 18 { 19 if (cond) 20 stmt(); 21 } 22 #indent end 23