blob: 9444caf6598b20dc9cb0af5f95a5cf6b51eeb0bf [file] [log] [blame] [edit]
;;; ERROR: 1
;;; TOOL: run-gen-wasm
magic
version
section(TYPE) { count[1] function params[0] results[1] i32 }
section(FUNCTION) { count[1] type[0] }
section(CODE) {
count[1]
func {
locals[decl_count[1] i32_count[1] i32]
get_local 0
}
}
section("name") {
subsection_type[1]
subsection_length[1]
count[0]
subsection_type[1]
subsection_length[1]
count[0]
}
(;; STDERR ;;;
Error running "wasm2wast":
error: @0x00000028: duplicate sub-section
;;; STDERR ;;)