mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-04-25 07:02:13 +00:00
34 lines
954 B
Plaintext
34 lines
954 B
Plaintext
(module
|
|
(type $i (func (result i32)))
|
|
(type $v (func))
|
|
(memory $0 0)
|
|
(table $0 1 funcref)
|
|
(elem (i32.const 0) $null)
|
|
(global $namespace/Outer.Inner.aVar (mut i32) (i32.const 0))
|
|
(global $namespace/Outer.Inner.anEnum.ONE i32 (i32.const 1))
|
|
(global $namespace/Outer.Inner.anEnum.TWO i32 (i32.const 2))
|
|
(global $namespace/Joined.THREE i32 (i32.const 3))
|
|
(global $HEAP_BASE i32 (i32.const 8))
|
|
(export "memory" (memory $0))
|
|
(export "table" (table $0))
|
|
(start $start)
|
|
(func $namespace/Outer.Inner.aFunc (; 0 ;) (type $i) (result i32)
|
|
global.get $namespace/Outer.Inner.aVar
|
|
)
|
|
(func $namespace/Joined.anotherFunc (; 1 ;) (type $i) (result i32)
|
|
global.get $namespace/Joined.THREE
|
|
)
|
|
(func $start (; 2 ;) (type $v)
|
|
global.get $namespace/Outer.Inner.aVar
|
|
drop
|
|
call $namespace/Outer.Inner.aFunc
|
|
drop
|
|
global.get $namespace/Outer.Inner.anEnum.ONE
|
|
drop
|
|
call $namespace/Joined.anotherFunc
|
|
drop
|
|
)
|
|
(func $null (; 3 ;) (type $v)
|
|
)
|
|
)
|