summaryrefslogtreecommitdiff
path: root/test/parse/expr/bulk-memory-named.txt
blob: a42932063be33f8e2b39b5ef8ade5c6950480f62 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
;;; TOOL: wat2wasm

(module
  (memory 1)
  (data $data "a")
  (func
    i32.const 0 i32.const 0 i32.const 0 memory.init $data
    data.drop $data
  )

  (table 1 funcref)
  (elem $elem funcref (ref.func 0) (ref.null func))
  (elem $elem2 func 0)
  (func
    i32.const 0 i32.const 0 i32.const 0 table.init $elem
    elem.drop $elem
  )
)