summaryrefslogtreecommitdiffstats
path: root/src/test/ui/binding/multi-let.rs
blob: 064d32a708424bf251211192aef498379ec1771e (plain)
1
2
3
4
5
6
7
// run-pass

pub fn main() {
    let x = 10;
    let y = x;
    assert_eq!(y, 10);
}