blob: 581773f0a98e0450fd01052fe07806db9be7b95c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
;;; TOOL: run-gen-wasm-interp
;;; ARGS: -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 ;;;
0000015: error: 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 ;;)
|