mirror of
https://github.com/fluencelabs/wasmer
synced 2024-12-13 22:25:40 +00:00
21 lines
472 B
Plaintext
21 lines
472 B
Plaintext
(module
|
|
(func $main (export "main")
|
|
(if (i32.eq (select
|
|
(i32.const 10)
|
|
(i32.const 20)
|
|
(i32.const 1)
|
|
) (i32.const 10))
|
|
(then)
|
|
(else (unreachable))
|
|
)
|
|
(if (i32.eq (select
|
|
(i32.const 10)
|
|
(i32.const 20)
|
|
(i32.const 0)
|
|
) (i32.const 20))
|
|
(then)
|
|
(else (unreachable))
|
|
)
|
|
)
|
|
)
|