From 5acbb8d34f88eae9b5b50cf5d00f86dc56a7057c Mon Sep 17 00:00:00 2001 From: Alon Zakai Date: Sat, 5 Mar 2016 22:31:09 -0800 Subject: handle continues in one-time loops --- test/unit.asm.js | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'test/unit.asm.js') diff --git a/test/unit.asm.js b/test/unit.asm.js index e5673146d..53e6483ef 100644 --- a/test/unit.asm.js +++ b/test/unit.asm.js @@ -151,6 +151,16 @@ function asm() { abort(55); abort(); } + function continues() { + while (1) { + print(1); + do { + print(5); + if (check()) continue; + } while (0); + print(2); + } + } function z() { } -- cgit v1.2.3