diff options
Diffstat (limited to 'test/parse/expr/table-init.txt')
-rw-r--r-- | test/parse/expr/table-init.txt | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/test/parse/expr/table-init.txt b/test/parse/expr/table-init.txt new file mode 100644 index 00000000..4673c644 --- /dev/null +++ b/test/parse/expr/table-init.txt @@ -0,0 +1,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 anyfunc) + (elem passive 1)) |