summaryrefslogtreecommitdiff
path: root/test/multi-table.wast.fromBinary
diff options
context:
space:
mode:
Diffstat (limited to 'test/multi-table.wast.fromBinary')
-rw-r--r--test/multi-table.wast.fromBinary11
1 files changed, 9 insertions, 2 deletions
diff --git a/test/multi-table.wast.fromBinary b/test/multi-table.wast.fromBinary
index 1bfd568da..13604e69d 100644
--- a/test/multi-table.wast.fromBinary
+++ b/test/multi-table.wast.fromBinary
@@ -4,12 +4,19 @@
(elem (table $t1) (i32.const 0) func $f)
(table $t2 3 3 funcref)
(elem (table $t2) (i32.const 0) func $f)
- (elem (table $t2) (i32.const 1) func $f $g)
+ (elem $activeNonZeroOffset (table $t2) (i32.const 1) func $f $g)
+ (elem $passive func $f $g)
+ (elem declare func $h)
(func $f
- (nop)
+ (drop
+ (ref.func $h)
+ )
)
(func $g
(nop)
)
+ (func $h
+ (nop)
+ )
)