mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-04-25 07:02:13 +00:00
21 lines
354 B
Plaintext
21 lines
354 B
Plaintext
(module
|
|
(type $i (func (result i32)))
|
|
(type $v (func))
|
|
(memory $0 1)
|
|
(export "test" (func $inlining/test))
|
|
(export "memory" (memory $0))
|
|
(start $start)
|
|
(func $inlining/test (; 0 ;) (type $i) (result i32)
|
|
(i32.const 3)
|
|
)
|
|
(func $start (; 1 ;) (type $v)
|
|
(if
|
|
(i32.ne
|
|
(call $inlining/test)
|
|
(i32.const 3)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
)
|