This commit is contained in:
nub31
2025-07-03 18:19:15 +02:00
parent 51c352465b
commit 598e0f35db
2 changed files with 40 additions and 24 deletions

View File

@@ -8,18 +8,14 @@ struct Human
export func main(args: []cstring): i64
{
let x: i64
let x: Human
x = 23
x = alloc Human {
name = "john"
age = 23
}
if (x == 23)
{
c::printf("true\n")
}
else
{
c::printf("false\n")
}
c::puts(x.name)
return 0
}