summaryrefslogtreecommitdiff
path: root/test/binary/bad-section-size-zero.txt
blob: fe68fdc62e849979039d1456277c90dde93ceffe (plain)
1
2
3
4
5
6
7
8
9
10
;;; TOOL: run-gen-wasm-bad
magic
version
section_code[1] section_size[0]
;; garbage after the section; shouldn't be read
1 2 3 4 5
(;; STDERR ;;;
000000a: error: unable to read u32 leb128: type count
000000a: error: unable to read u32 leb128: type count
;;; STDERR ;;)