...
This commit is contained in:
@@ -2,20 +2,13 @@ module main
|
||||
|
||||
extern "puts" func puts(text: ^i8)
|
||||
|
||||
struct Test
|
||||
{
|
||||
field: u32
|
||||
struct Test {
|
||||
test: ^i8 = "test1"
|
||||
}
|
||||
|
||||
extern "main" func main(argc: i64, argv: [?]^i8)
|
||||
{
|
||||
let x: ^i8 = "test"
|
||||
// test
|
||||
^x^ = "uwu"
|
||||
puts(x)
|
||||
}
|
||||
let x = "test"
|
||||
|
||||
func test(test: Test): Test
|
||||
{
|
||||
return test
|
||||
puts(x)
|
||||
}
|
||||
Reference in New Issue
Block a user