blob: a03a4a647bdc0d11ae759ac73bb41b13bf1675bd [file] [log] [blame] [edit]
;;; TOOL: run-gen-wasm-interp
;;; FLAGS: -v
;;; ERROR: 1
magic
version
section(TYPE) { count[1] function params[0] results[0] }
section(FUNCTION) { count[1] type[0] }
section(CODE) {
count[0]
func { ;; error
return
}
}
(;; STDERR ;;;
Error running "wasm-interp":
error: @0x00000015: function signature count != function body count
;;; STDERR ;;)
(;; STDOUT ;;;
BeginModule(version: 1)
BeginTypeSection(4)
OnTypeCount(1)
OnType(index: 0, params: [], results: [])
EndTypeSection
BeginFunctionSection(2)
OnFunctionCount(1)
OnFunction(index: 0, sig_index: 0)
EndFunctionSection
BeginCodeSection(4)
;;; STDOUT ;;)