summaryrefslogtreecommitdiffstats
path: root/tests/run-make/emit/test-24876.rs
blob: 734e2ee4bd419443bb44a006b36069404906a2ad (plain)
1
2
3
4
5
6
7
8
9
// Checks for issue #24876

fn main() {
    let mut v = 0;
    for i in 0..0 {
        v += i;
    }
    println!("{}", v)
}