mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-04-25 23:12:19 +00:00
32 lines
655 B
Plaintext
32 lines
655 B
Plaintext
(module
|
|
(type $i (func (result i32)))
|
|
(type $iiiiv (func (param i32 i32 i32 i32)))
|
|
(type $v (func))
|
|
(import "env" "abort" (func $abort (param i32 i32 i32 i32)))
|
|
(memory $0 1)
|
|
(data (i32.const 4) "\0b\00\00\00i\00n\00l\00i\00n\00i\00n\00g\00.\00t\00s")
|
|
(export "test" (func $inlining/test))
|
|
(export "memory" (memory $0))
|
|
(start $start)
|
|
(func $inlining/test (; 1 ;) (type $i) (result i32)
|
|
(i32.const 3)
|
|
)
|
|
(func $start (; 2 ;) (type $v)
|
|
(if
|
|
(i32.ne
|
|
(call $inlining/test)
|
|
(i32.const 3)
|
|
)
|
|
(block
|
|
(call $abort
|
|
(i32.const 0)
|
|
(i32.const 4)
|
|
(i32.const 8)
|
|
(i32.const 0)
|
|
)
|
|
(unreachable)
|
|
)
|
|
)
|
|
)
|
|
)
|