(module (type (;0;) (func (param i32) (result i32))) (type (;1;) (func (param i64) (result i64))) (type (;2;) (func (result i32))) (export "stmt" (func 0)) (export "expr" (func 1)) (export "arg" (func 2)) (export "corner" (func 3)) (func (;0;) (type 0) (param $i i32) (result i32) (local $j i32) i32.const 100 local.set $j block $switch block $7 block $default block $6 block $5 block $4 block $3 block $2 block $1 block $0 local.get $i br_table $0 $1 $2 $3 $4 $5 $6 $7 $default end local.get $i return end nop end end i32.const 0 local.get $i i32.sub local.set $j br $switch end br $switch end i32.const 101 local.set $j br $switch end i32.const 101 local.set $j end i32.const 102 local.set $j end end local.get $j return ) (func (;1;) (type 1) (param $i i64) (result i64) (local $j i64) i64.const 100 local.set $j block $switch (result i64) block $7 block $default block $4 block $5 block $6 block $3 block $2 block $1 block $0 local.get $i i32.wrap_i64 br_table $0 $1 $2 $3 $4 $5 $6 $7 $default end local.get $i return end nop end end i64.const 0 local.get $i i64.sub br $switch end i64.const 101 local.set $j end end end local.get $j br $switch end i64.const -5 end return ) (func (;2;) (type 0) (param $i i32) (result i32) block $2 (result i32) i32.const 10 block $1 (result i32) i32.const 100 block $0 (result i32) i32.const 1000 block $default (result i32) i32.const 2 local.get $i i32.mul i32.const 3 local.get $i i32.and br_table $0 $1 $2 $default end i32.add end i32.add end i32.add end return ) (func (;3;) (type 2) (result i32) block ;; label = @1 i32.const 0 br_table 0 (;@1;) end i32.const 1 ) )