summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/wasm/intrinsics/oom-test.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/jit-test/tests/wasm/intrinsics/oom-test.js')
-rw-r--r--js/src/jit-test/tests/wasm/intrinsics/oom-test.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/js/src/jit-test/tests/wasm/intrinsics/oom-test.js b/js/src/jit-test/tests/wasm/intrinsics/oom-test.js
new file mode 100644
index 0000000000..6770f41fc3
--- /dev/null
+++ b/js/src/jit-test/tests/wasm/intrinsics/oom-test.js
@@ -0,0 +1,6 @@
+// |jit-test| skip-if: !('oomTest' in this)
+
+oomTest(() => {
+ const module = wasmIntrinsicI8VecMul();
+ WebAssembly.Module.imports(module);
+});