mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 01:04:03 +00:00
433da1fc04
They pass fine.
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)
|
|
}
|