summaryrefslogtreecommitdiff
path: root/test/multi-table.wast.fromBinary
blob: 13604e69d16af3ac2522c94a278ab67a09213664 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
(module
 (type $none_=>_none (func))
 (import "a" "b" (table $t1 1 10 funcref))
 (elem (table $t1) (i32.const 0) func $f)
 (table $t2 3 3 funcref)
 (elem (table $t2) (i32.const 0) func $f)
 (elem $activeNonZeroOffset (table $t2) (i32.const 1) func $f $g)
 (elem $passive func $f $g)
 (elem declare func $h)
 (func $f
  (drop
   (ref.func $h)
  )
 )
 (func $g
  (nop)
 )
 (func $h
  (nop)
 )
)