Index: test/mjsunit/wasm/asm-wasm.js |
diff --git a/test/mjsunit/wasm/asm-wasm.js b/test/mjsunit/wasm/asm-wasm.js |
index 126c66d97cee8fee882a5c22babe91ea21275550..6becaad6b706dea14d4b7a8d8c85800a5f3db6af 100644 |
--- a/test/mjsunit/wasm/asm-wasm.js |
+++ b/test/mjsunit/wasm/asm-wasm.js |
@@ -410,6 +410,22 @@ function TestContinueInNamedWhile() { |
assertWasm(20, TestContinueInNamedWhile); |
+function TestContinueInDoWhileFalse() { |
+ "use asm"; |
+ |
+ function caller() { |
+ do { |
+ continue; |
+ } while (false); |
+ return 47; |
+ } |
+ |
+ return {caller: caller}; |
+} |
+ |
+assertWasm(47, TestContinueInDoWhileFalse); |
+ |
+ |
function TestNot() { |
"use asm"; |