rust/tests/run-make/emit/test-24876.rs
2023-03-30 07:34:55 -05:00

10 lines
125 B
Rust

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