Skip to content

Commit

Permalink
Update mem-access.wat
Browse files Browse the repository at this point in the history
  • Loading branch information
Sven SAULEAU committed May 24, 2018
1 parent acc45fd commit 00eafa6
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion test/cases/wasm/memory/mem-access.wat
@@ -1 +1,11 @@
(module (type $t0 (func (result i32))) (type $t1 (func (param i32))) (import "./memory.wat" "memory" (memory $./memory.wasm.memory 1)) (func $get (export "get") (type $t0) (result i32) (i32.load (i32.const 0))) (func $set (export "set") (type $t1) (param $p i32) (i32.store (i32.const 0) (get_local $p))))
(module
(type $t0 (func (result i32)))
(type $t1 (func (param i32)))
(import "./memory.wat" "memory" (memory $./memory.wasm.memory 1))
(func $get (export "get") (type $t0) (result i32)
(i32.load
(i32.const 0)))
(func $set (export "set") (type $t1) (param $p i32)
(i32.store
(i32.const 0)
(get_local $p))))

0 comments on commit 00eafa6

Please sign in to comment.