/* $NetBSD: lsym_do.c,v 1.4 2022/04/24 10:36:37 rillig Exp $ */ /* * Tests for the token lsym_do, which represents the keyword 'do' that starts * a 'do-while' loop. * * See also: * psym_do.c * psym_do_stmt.c * C11 6.8.5 "Iteration statements" * C11 6.8.5.2 "The 'do' statement" */ //indent input void function(void) { do stmt();while(cond); } //indent end //indent run void function(void) { do stmt(); while (cond); } //indent end