summaryrefslogtreecommitdiff
path: root/test/newsyntax.wast.from-wast
blob: dba2de3d5ffc93552d3d56bd9fac62f95bcc4a02 (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 (; 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)
  )
 )
)