summaryrefslogtreecommitdiff
path: root/test/example/c-api-multiple-tables.txt
diff options
context:
space:
mode:
Diffstat (limited to 'test/example/c-api-multiple-tables.txt')
-rw-r--r--test/example/c-api-multiple-tables.txt5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/example/c-api-multiple-tables.txt b/test/example/c-api-multiple-tables.txt
index 5b2858e91..8a2963729 100644
--- a/test/example/c-api-multiple-tables.txt
+++ b/test/example/c-api-multiple-tables.txt
@@ -1,9 +1,10 @@
(module
(type $i32_i32_=>_i32 (func (param i32 i32) (result i32)))
(table $tab 1 1 funcref)
- (elem (table $tab) (i32.const 0) func $adder)
+ (elem $0 (table $tab) (i32.const 0) func $adder)
(table $table2 2 2 funcref)
- (elem (table $table2) (i32.const 0) func $adder)
+ (elem $1 (table $table2) (i32.const 0) func $adder)
+ (elem $passive func $adder)
(func $adder (param $0 i32) (param $1 i32) (result i32)
(i32.add
(local.get $0)