summaryrefslogtreecommitdiffstats
path: root/tests/ui/borrowck/borrowck-init-op-equal.rs
blob: 3d08c1b81a79bee077438784d1ad2b52e3565e84 (plain)
1
2
3
4
5
6
7
8
fn test() {
    let v: isize;
    v += 1; //~ ERROR E0381
    v.clone();
}

fn main() {
}