summaryrefslogtreecommitdiff
path: root/test/lit/merge/fusing.wat.second
diff options
context:
space:
mode:
Diffstat (limited to 'test/lit/merge/fusing.wat.second')
-rw-r--r--test/lit/merge/fusing.wat.second7
1 files changed, 4 insertions, 3 deletions
diff --git a/test/lit/merge/fusing.wat.second b/test/lit/merge/fusing.wat.second
index 7ab9cc3f3..4a3c8d14c 100644
--- a/test/lit/merge/fusing.wat.second
+++ b/test/lit/merge/fusing.wat.second
@@ -6,6 +6,10 @@
;; Use a different prefix than in first ($main instead of $other).
(import "first" "bar" (func $main.bar))
+ (import "first" "mem" (memory $other.mem 1))
+
+ (import "first" "exn" (tag $exn))
+
(memory $second.mem 2)
(export "mem" (memory $second.mem))
@@ -26,8 +30,6 @@
)
)
- (import "first" "mem" (memory $other.mem 1))
-
(func $keepalive2 (export "keepalive2") (result i32)
;; Load from the memory imported from the second module.
(i32.load $other.mem
@@ -35,6 +37,5 @@
)
)
- (import "first" "exn" (tag $exn))
(func $keepalive3 (export "keepalive3") (throw $exn))
)