This commit is contained in:
nub31
2025-08-13 21:50:42 +02:00
parent c2a6afdbbd
commit 9ddac8edfe
4 changed files with 38 additions and 7 deletions

View File

@@ -1,6 +1,11 @@
extern func puts(text: cstring)
struct Human
interface Test
{
func print()
}
struct Human : Test
{
name: cstring
@@ -12,7 +17,7 @@ struct Human
func main(args: []cstring): i64
{
let human = alloc Human {
let human: Test = alloc Human {
name = "oliver"
}