summaryrefslogtreecommitdiff
path: root/test/lit/merge/memory_data.wat.second
blob: 4a738877daa6040cd9a237a629000021e857d0e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
(module
  ;; Test that the import remains
  (import "import" "mem" (memory $imported 10000))

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

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