This commit is contained in:
nub31
2025-05-05 22:55:15 +02:00
parent c3502fe68a
commit bdf82f99e7
5 changed files with 85 additions and 34 deletions

View File

@@ -1,12 +1,14 @@
import "c";
global func main() {
let x = true;
while x {
if (true) {
puts("level 1");
}
puts("level 2");
break;
}
struct Human {
age: int64;
name: string;
}
global func main() {
printName();
}
func printName(human: Human) {
puts(human.name);
}