slige/examples/add_fn.slg

10 lines
75 B
Plaintext
Raw Normal View History

2024-12-11 00:22:13 +01:00
fn main() {
add(1, 2)
}
fn add(a: int, b: int) -> int {
+ a b
}