blob: fe4a70ce22c2221ae79751effccf6430c06aa011 [file] [log] [blame] [edit]
(module
(memory 256 256)
(table 256 256 funcref)
(elem (i32.const 0) $ifs $ifs $ifs)
(data (i32.const 0) "\ff\ef\0f\1f\20\30\40\50\99")
(type $0 (func (param i32)))
(global $glob i32 (i32.const 1337))
(tag $e0 (param i32))
(tag $e1 (param i32 i32))
(func $ifs (type $0) (param $x i32)
(local $y f32)
(block $block0
(if
(i32.const 0)
(then
(drop
(i32.const 1)
)
)
)
(if
(i32.const 0)
(then
(drop
(i32.const 1)
)
)
(else
(drop
(i32.const 2)
)
)
)
(if
(i32.const 4)
(then
(drop
(i32.const 5)
)
)
(else
(drop
(i32.const 6)
)
)
)
(drop
(i32.eq
(if (result i32)
(i32.const 4)
(then
(i32.const 5)
)
(else
(i32.const 6)
)
)
(i32.const 177)
)
)
)
)
)
;; module with no table or memory or anything for that matter
(module
)