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