mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-06-22 11:11:43 +00:00
Rename memory instructions; Rework constant handling
This commit is contained in:
8
tests/binaryen/const-global.wat
Normal file
8
tests/binaryen/const-global.wat
Normal file
@ -0,0 +1,8 @@
|
||||
(module
|
||||
(type $i (func (result i32)))
|
||||
(global $testGlobal i32 (i32.const 2))
|
||||
(export "test" (func $test))
|
||||
(func $test (; 0 ;) (type $i) (result i32)
|
||||
(get_global $testGlobal)
|
||||
)
|
||||
)
|
Reference in New Issue
Block a user