mirror of
https://github.com/rust-lang/rust
synced 2024-09-05 16:57:03 +00:00
13 lines
135 B
Rust
13 lines
135 B
Rust
//@ run-pass
|
|
fn mir() -> (){
|
|
let x = 1;
|
|
let mut y = 0;
|
|
while y < x {
|
|
y += 1
|
|
}
|
|
}
|
|
|
|
pub fn main() {
|
|
mir();
|
|
}
|