16 lines
203 B
Plaintext
16 lines
203 B
Plaintext
// Arithmetic, function calls and imports!
|
|
|
|
import std::allocate;
|
|
|
|
fn other() -> i16 {
|
|
return 6;
|
|
}
|
|
|
|
fn main() -> u32 {
|
|
let value = other() as u32;
|
|
|
|
let v = (allocate(4) as *u32);
|
|
|
|
return v[0];
|
|
}
|