summaryrefslogtreecommitdiff
path: root/test/parse/expr/table-init.txt
blob: fe38d6df8ba0a59a037b4ac19771885a555f8232 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
;;; TOOL: wat2wasm
;;; ARGS: --enable-bulk-memory
(module
  (memory 0)

  (func
    i32.const 0
    i32.const 0
    i32.const 0
    table.init 0)

  (func)

  (table 0 funcref)
  (elem func 1))