2 // In this test the outer 'a loop may terminate without `x` getting initialised. Although the
3 // `x = loop { ... }` statement is reached, the value itself ends up never being computed and
4 // thus leaving `x` uninit.
9 println!("{:?}", x); //~ ERROR E0381
12 // test2 and test3 should not fail.
14 // In this test the `'a` loop will never terminate thus making the use of `x` unreachable.
17 x = loop { continue 'a };
24 // Similarly, the use of variable `x` is unreachable.