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

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