mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-05-06 02:52:17 +00:00
19 lines
419 B
Plaintext
19 lines
419 B
Plaintext
(module
|
|
(func $foo (param i32) (result i32)
|
|
(local i32)
|
|
get_local 0
|
|
tee_local 1
|
|
)
|
|
(export "foo" (func $foo))
|
|
)
|
|
|
|
;; STDOUT (update this section with `BLESS_TESTS=1` while running tests)
|
|
;; (module
|
|
;; (type (;0;) (func (param i32) (result i32)))
|
|
;; (func $foo (type 0) (param i32) (result i32)
|
|
;; (local i32)
|
|
;; local.get 0
|
|
;; local.tee 1)
|
|
;; (export "foo" (func $foo)))
|
|
;; STDOUT
|