summaryrefslogtreecommitdiff
path: root/test/newsyntax.wast.fromBinary
blob: ea3b1ac9a46fd55fe7847b06c9ac984a05741b37 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
(module
 (type $none_=>_none (func))
 (type $i32_f64_=>_i32 (func (param i32 f64) (result i32)))
 (import "env" "table" (table $timport$0 9 9 funcref))
 (export "call_indirect" (func $0))
 (func $0
  (drop
   (call_indirect (type $i32_f64_=>_i32)
    (i32.const 10)
    (f64.const 20)
    (i32.const 30)
   )
  )
  (call_indirect (type $none_=>_none)
   (i32.const 1)
  )
 )
)