mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-04-25 07:02:13 +00:00
30 lines
465 B
Plaintext
30 lines
465 B
Plaintext
(module
|
|
(type $i (func (result i32)))
|
|
(type $v (func))
|
|
(global $ternary/a (mut i32) (i32.const 0))
|
|
(global $HEAP_BASE i32 (i32.const 4))
|
|
(memory $0 1)
|
|
(export "memory" (memory $0))
|
|
(start $start)
|
|
(func $start (; 0 ;) (type $v)
|
|
(drop
|
|
(i32.const 1)
|
|
)
|
|
(drop
|
|
(i32.const 1)
|
|
)
|
|
(drop
|
|
(i32.const 1)
|
|
)
|
|
(set_global $ternary/a
|
|
(i32.const 1)
|
|
)
|
|
(set_global $ternary/a
|
|
(i32.const 1)
|
|
)
|
|
(set_global $ternary/a
|
|
(i32.const 1)
|
|
)
|
|
)
|
|
)
|