mirror of
https://github.com/Mercantec-GHC/h4-projekt-gruppe-0-sm.git
synced 2025-04-28 08:44:06 +02:00
16 lines
161 B
Plaintext
16 lines
161 B
Plaintext
|
|
fn add(lhs: int, rhs: int) -> int {
|
|
lhs + rhs
|
|
}
|
|
|
|
fn main() {
|
|
let foo = 5;
|
|
let bar = 7 + foo;
|
|
|
|
if foo {} else {}
|
|
|
|
let c = add(foo, bar);
|
|
}
|
|
|
|
|