summaryrefslogtreecommitdiff
path: root/test/lit/merge/memory_data.wat.second
blob: 8af6ba36d9470980d9cb62a3b734e6201b53ba50 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
(module
  (memory $other 100)

  (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")

  (export "keepalive" (memory $other))

  (export "keepalive1" (memory $bar))

  (export "keepalive2" (memory $imported))
)