blob: d6b1eca1fd2d1aa1bdafc8b8e45b5bc3b99dadb4 [file] [log] [blame]
fn f() -> i32 {
var i : i32;
var j : i32;
loop {
i = i + 1;
if (i > 4) {
return 1;
}
loop {
j = j + 1;
if (j > 4) {
return 2;
}
}
}
}
@compute @workgroup_size(1)
fn main() {
_ = f();
}