Debian Codegraph @

tests/cli/invalid/issue139.wast

raw
1 ;; RUN: wast --assert default --snapshot tests/snapshots %
2
3 (assert_malformed
4 (module binary
5 "\00\61\73\6d" ;; header
6 "\01\00\00\00" ;; version
7 "\01\04\01\60\00\00" ;; type section, 1 type, (func)
8 "\03\02\01\00" ;; func section, 1 function, type 0
9
10 ;; code section, 9 functions
11 "\0a\01\09"
12 )
13 "function and code section have inconsistent lengths")