2021-07-30 17:18:36 +00:00
|
|
|
SKIP: FAILED
|
|
|
|
|
2022-01-14 17:16:32 +00:00
|
|
|
|
|
|
|
struct S {
|
2022-03-28 14:31:22 +00:00
|
|
|
field0 : u32,
|
|
|
|
field1 : f32,
|
|
|
|
field2 : array<u32, 2u>,
|
2022-01-14 17:16:32 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
var<private> x_1 : u32;
|
|
|
|
|
|
|
|
var<private> x_17 : bool;
|
|
|
|
|
|
|
|
fn main_1() {
|
|
|
|
let x_101 : bool = x_17;
|
|
|
|
loop {
|
|
|
|
var x_2_phi : u32;
|
|
|
|
var x_5_phi : u32;
|
2021-07-30 16:03:06 +00:00
|
|
|
x_2_phi = 0u;
|
|
|
|
x_5_phi = 1u;
|
2022-01-14 17:16:32 +00:00
|
|
|
loop {
|
|
|
|
var x_7 : u32;
|
|
|
|
let x_2 : u32 = x_2_phi;
|
|
|
|
let x_5 : u32 = x_5_phi;
|
|
|
|
let x_4 : u32 = (x_2 + 1u);
|
|
|
|
let x_6 : u32 = (x_4 + 1u);
|
2021-07-30 16:03:06 +00:00
|
|
|
if (x_101) {
|
|
|
|
break;
|
|
|
|
}
|
2022-01-14 17:16:32 +00:00
|
|
|
|
|
|
|
continuing {
|
2021-07-30 16:03:06 +00:00
|
|
|
x_7 = (x_4 + x_6);
|
|
|
|
x_2_phi = x_4;
|
|
|
|
x_5_phi = x_7;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
|
2022-01-19 22:46:57 +00:00
|
|
|
@stage(fragment)
|
2022-01-14 17:16:32 +00:00
|
|
|
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
|