blob: cc00d2e1a7e9016d688326ff9e7bd141438ca715 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
;;; TOOL: run-gen-wasm-bad
magic
version
section(TYPE) { count[1] function params[0] results[0] }
section(FUNCTION) { count[1] sig[0] }
section(START) { func[1] }
section(CODE) { count[1] func { locals[0] } }
(;; STDERR ;;;
out/test/binary/bad-start-func/bad-start-func.wasm:0000015: error: function variable out of range: 1 (max 1)
out/test/binary/bad-start-func/bad-start-func.wasm:0000015: error: function variable out of range: 1 (max 1)
;;; STDERR ;;)
|