summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/wasm/multi-value/regress-1631423.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/jit-test/tests/wasm/multi-value/regress-1631423.js')
-rw-r--r--js/src/jit-test/tests/wasm/multi-value/regress-1631423.js15
1 files changed, 15 insertions, 0 deletions
diff --git a/js/src/jit-test/tests/wasm/multi-value/regress-1631423.js b/js/src/jit-test/tests/wasm/multi-value/regress-1631423.js
new file mode 100644
index 0000000000..2460830dfd
--- /dev/null
+++ b/js/src/jit-test/tests/wasm/multi-value/regress-1631423.js
@@ -0,0 +1,15 @@
+wasmEvalText(`
+ (module
+ (func $main (export "main")
+ (local i32)
+ i32.const 1
+ i32.const 2
+ i32.const 3
+ (loop (param i32 i32 i32)
+ local.get 0
+ i32.const 4
+ i32.const 5
+ i32.const 6
+ i32.const 7
+ br_if 0
+ unreachable)))`);