2017-12-05 22:47:20 +01:00
|
|
|
(module
|
|
|
|
(type $v (func))
|
|
|
|
(memory $0 1)
|
|
|
|
(export "memory" (memory $0))
|
|
|
|
(start $start)
|
|
|
|
(func $start (; 0 ;) (type $v)
|
2018-01-10 13:09:05 +01:00
|
|
|
(local $0 i32)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ assert.ts:10:0
|
2018-01-10 13:09:05 +01:00
|
|
|
(if
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ assert.ts:10:4
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.eqz
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ assert.ts:10:5
|
2018-01-10 13:09:05 +01:00
|
|
|
(if (result i32)
|
|
|
|
(tee_local $0
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ assert.ts:10:12
|
2018-01-10 13:09:05 +01:00
|
|
|
(i32.const 1)
|
|
|
|
)
|
|
|
|
(get_local $0)
|
|
|
|
(unreachable)
|
|
|
|
)
|
|
|
|
)
|
2018-02-02 03:07:54 +01:00
|
|
|
;;@ assert.ts:11:2
|
2018-01-10 13:09:05 +01:00
|
|
|
(unreachable)
|
|
|
|
)
|
2017-12-05 22:47:20 +01:00
|
|
|
)
|
|
|
|
)
|