about summary refs log tree commit diff
path: root/src/test/compile-fail/liveness-while-cond.rs
blob: 28a5fb18a7f1dabadb761977c603deceab6794ff (plain)
1
2
3
4
fn main() {
    let x: bool;
    while x { } //~ ERROR use of possibly uninitialized variable: `x`
}