mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-14 16:03:17 +00:00
10 lines
125 B
Rust
10 lines
125 B
Rust
// Checks for issue #24876
|
|
|
|
fn main() {
|
|
let mut v = 0;
|
|
for i in 0..0 {
|
|
v += i;
|
|
}
|
|
println!("{}", v)
|
|
}
|