summaryrefslogtreecommitdiff
path: root/test/lit/merge/memory_data.wat.second
diff options
context:
space:
mode:
Diffstat (limited to 'test/lit/merge/memory_data.wat.second')
-rw-r--r--test/lit/merge/memory_data.wat.second5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/lit/merge/memory_data.wat.second b/test/lit/merge/memory_data.wat.second
index 0ea34dbcd..8af6ba36d 100644
--- a/test/lit/merge/memory_data.wat.second
+++ b/test/lit/merge/memory_data.wat.second
@@ -3,6 +3,9 @@
(memory $bar 1000)
+ ;; Test that the import remains
+ (import "import" "mem" (memory $imported 10000))
+
(data $a (memory $other) (i32.const 0) "a2")
(data $b (memory $bar) (i32.const 0) "b2")
@@ -10,4 +13,6 @@
(export "keepalive" (memory $other))
(export "keepalive1" (memory $bar))
+
+ (export "keepalive2" (memory $imported))
)