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.fromBinary15
1 files changed, 15 insertions, 0 deletions
diff --git a/test/multi-table.wast.fromBinary b/test/multi-table.wast.fromBinary
new file mode 100644
index 000000000..1bfd568da
--- /dev/null
+++ b/test/multi-table.wast.fromBinary
@@ -0,0 +1,15 @@
+(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 (table $t2) (i32.const 1) func $f $g)
+ (func $f
+ (nop)
+ )
+ (func $g
+ (nop)
+ )
+)
+