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.second13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/lit/merge/memory_data.wat.second b/test/lit/merge/memory_data.wat.second
new file mode 100644
index 000000000..0ea34dbcd
--- /dev/null
+++ b/test/lit/merge/memory_data.wat.second
@@ -0,0 +1,13 @@
+(module
+ (memory $other 100)
+
+ (memory $bar 1000)
+
+ (data $a (memory $other) (i32.const 0) "a2")
+
+ (data $b (memory $bar) (i32.const 0) "b2")
+
+ (export "keepalive" (memory $other))
+
+ (export "keepalive1" (memory $bar))
+)