2021-07-30 17:18:36 +00:00
|
|
|
SKIP: FAILED
|
|
|
|
|
2021-07-30 16:03:06 +00:00
|
|
|
|
2022-01-14 17:16:32 +00:00
|
|
|
var<private> var_1 : u32;
|
|
|
|
|
|
|
|
fn main_1() {
|
2021-07-30 16:03:06 +00:00
|
|
|
var_1 = 10u;
|
2022-01-14 17:16:32 +00:00
|
|
|
loop {
|
2021-07-30 16:03:06 +00:00
|
|
|
var_1 = 20u;
|
|
|
|
if (false) {
|
|
|
|
var_1 = 30u;
|
|
|
|
continue;
|
|
|
|
} else {
|
|
|
|
var_1 = 40u;
|
|
|
|
}
|
2022-01-14 17:16:32 +00:00
|
|
|
|
|
|
|
continuing {
|
2021-07-30 16:03:06 +00:00
|
|
|
var_1 = 90u;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
var_1 = 99u;
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
|
2022-01-14 17:16:32 +00:00
|
|
|
[[stage(fragment)]]
|
|
|
|
fn main() {
|
2021-07-30 16:03:06 +00:00
|
|
|
main_1();
|
|
|
|
}
|
2021-07-30 17:18:36 +00:00
|
|
|
|
2022-01-14 17:16:32 +00:00
|
|
|
error: loop does not exit
|