init
This commit is contained in:
11
tests/bad_br.clif
Normal file
11
tests/bad_br.clif
Normal file
@@ -0,0 +1,11 @@
|
||||
function u0:2(i32) -> i32 system_v {
|
||||
block0(v0: i32):
|
||||
v1 = iconst.i32 1
|
||||
v2 = iconst.i32 2
|
||||
v3 = iconst.i32 3
|
||||
v4 = iconst.i32 4
|
||||
br_table v0, block1(v4), [block1(v1), block1(v2), block1(v2), block1(v3)] ; v4 = 4, v1 = 1, v2 = 2, v2 = 2, v3 = 3
|
||||
|
||||
block1(v5: i32):
|
||||
return v5
|
||||
}
|
||||
Reference in New Issue
Block a user