summaryrefslogtreecommitdiff
path: root/test/multi-table.wast.fromBinary.noDebugInfo
diff options
context:
space:
mode:
Diffstat (limited to 'test/multi-table.wast.fromBinary.noDebugInfo')
-rw-r--r--test/multi-table.wast.fromBinary.noDebugInfo7
1 files changed, 6 insertions, 1 deletions
diff --git a/test/multi-table.wast.fromBinary.noDebugInfo b/test/multi-table.wast.fromBinary.noDebugInfo
index 638ee7329..4125f5ee8 100644
--- a/test/multi-table.wast.fromBinary.noDebugInfo
+++ b/test/multi-table.wast.fromBinary.noDebugInfo
@@ -2,13 +2,18 @@
(type $none_=>_none (func))
(import "a" "b" (table $timport$0 1 10 funcref))
(elem (table $timport$0) (i32.const 0) func $0)
+ (global $global$0 (ref null $none_=>_none) (ref.func $0))
+ (global $global$1 i32 (i32.const 0))
(table $0 3 3 funcref)
(elem (table $0) (i32.const 0) func $0)
(elem (table $0) (i32.const 1) func $0 $1)
(table $1 4 4 funcref)
- (elem (table $1) (i32.const 0) funcref (ref.func $0) (ref.null func))
+ (elem (table $1) (global.get $global$1) funcref (ref.func $0) (ref.null func))
(elem (table $1) (i32.const 2) func $0 $1)
+ (table $2 0 externref)
+ (elem func $0 $1)
(elem funcref (ref.func $0) (ref.func $1) (ref.null func))
+ (elem (ref null $none_=>_none) (ref.func $0) (ref.func $1) (ref.null $none_=>_none) (global.get $global$0))
(elem declare func $2)
(func $0
(drop