summaryrefslogtreecommitdiff
path: root/test/newsyntax.wast.from-wast
blob: 88e25da0d16aaa9a55ae7555a7cc3e5e9fa5aa41 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
(module
 (type $none_=>_none (func))
 (type $i32_f64_=>_i32 (func (param i32 f64) (result i32)))
 (import "env" "table" (table $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)
  )
 )
)