mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-05-06 11:02:18 +00:00
17 lines
396 B
Plaintext
17 lines
396 B
Plaintext
(module
|
|
(global i32 (i32.const 0))
|
|
(global i32 (i32.const 0))
|
|
(func (result i32)
|
|
get_global 1)
|
|
(export "foo" (func 0))
|
|
)
|
|
|
|
;; STDOUT (update this section with `BLESS_TESTS=1` while running tests)
|
|
;; (module
|
|
;; (type (;0;) (func (result i32)))
|
|
;; (func (;0;) (type 0) (result i32)
|
|
;; global.get 0)
|
|
;; (global (;0;) i32 (i32.const 0))
|
|
;; (export "foo" (func 0)))
|
|
;; STDOUT
|