mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-11 08:05:12 +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)
|
|
}
|