13 lines
118 B
Rust
13 lines
118 B
Rust
|
fn foo(int x) {
|
||
|
log x;
|
||
|
}
|
||
|
|
||
|
fn main() {
|
||
|
let int x;
|
||
|
if (1 > 2) {
|
||
|
x = 12;
|
||
|
} else {
|
||
|
x = 10;
|
||
|
}
|
||
|
foo(x);
|
||
|
}
|