extern
This commit is contained in:
@@ -1,17 +1,9 @@
|
||||
module main
|
||||
|
||||
struct Pos {
|
||||
x: i32
|
||||
y: i32
|
||||
}
|
||||
|
||||
func main(): i32
|
||||
{
|
||||
test({ x = 23 y = 23 })
|
||||
|
||||
return 1
|
||||
core::print("Hello, world")
|
||||
let ptr = core::malloc(64)
|
||||
core::free(ptr)
|
||||
return 0
|
||||
}
|
||||
|
||||
func test(x: Pos): void
|
||||
{
|
||||
}
|
||||
Reference in New Issue
Block a user