summaryrefslogtreecommitdiffstats
path: root/tests/ui/borrowck/borrowck-or-init.rs
blob: 079cf899e6dbf5af2c00493685c90d8ca879c17f (plain)
1
2
3
4
5
6
fn main() {
    let i: isize;

    println!("{}", false || { i = 5; true });
    println!("{}", i); //~ ERROR E0381
}