The Gao programming language
fn main(): int {
return bar(1);
}
fn test(): int {
let y: bool = false;
let x: int = 101;
y = true;
x = 201;
foo();
bar2(1, false);
return bar(x);
}
fn foo(): bool {
let x: int = 102;
let y: bool = false;
return y;
}
fn bar(a1: int): int {
return 1;
}
fn bar2(a1: int, a2: bool): bool {
return false;
}