blob: bada2837e10b0babb20e6a0b8172b2668f8bd130 [file] [log] [blame] [edit]
;; Test running a wasm file in fuzz_shell.js.
(module
(func $test (export "test") (result i32)
(i32.const 42)
)
)
;; Build to a binary wasm.
;;
;; RUN: wasm-opt %s -o %t.wasm -q
;; Run in node.
;;
;; RUN: node %S/../../../scripts/fuzz_shell.js %t.wasm | filecheck %s
;;
;; CHECK: [fuzz-exec] export test
;; CHECK: [fuzz-exec] note result: test => 42