blob: 378d4018aec13648098657f9a1ab68894d4bc4bd [file] [log] [blame] [edit]
(module
(import "a" "b" (table $t1 1 10 funcref))
(table $t2 3 3 funcref)
;; add to $t1
(elem (i32.const 0) $f)
;; add to $t2
(elem (table $t2) (i32.const 0) func $f)
(elem $activeNonZeroOffset (table $t2) (offset (i32.const 1)) func $f $g)
(elem $passive func $f $g)
(elem $empty func)
(elem $declarative declare func $h)
(func $f (drop (ref.func $h)))
(func $g)
(func $h)
)