summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/wasm/regress/fuzzsafe-bug1645610.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/jit-test/tests/wasm/regress/fuzzsafe-bug1645610.js')
-rw-r--r--js/src/jit-test/tests/wasm/regress/fuzzsafe-bug1645610.js15
1 files changed, 15 insertions, 0 deletions
diff --git a/js/src/jit-test/tests/wasm/regress/fuzzsafe-bug1645610.js b/js/src/jit-test/tests/wasm/regress/fuzzsafe-bug1645610.js
new file mode 100644
index 0000000000..6bd88e95bc
--- /dev/null
+++ b/js/src/jit-test/tests/wasm/regress/fuzzsafe-bug1645610.js
@@ -0,0 +1,15 @@
+// |jit-test| --fuzzing-safe; skip-if: this.getErrorNotes
+//
+// The meaning of the line above is that the test case is to be run only with
+// --fuzzing-safe and only if that setting (or similar settings) is effectful.
+
+WebAssembly.Module.exports(new WebAssembly.Module(wasmTextToBinary(`
+(module
+ (func (;0;))
+ (func (;1;))
+ (func (;2;))
+ (func (;3;) (result i32)
+ i32.const 42)
+ (export "memo" (func 3))
+ (export "main" (func 3)))
+`)));