Clean up examples
This commit is contained in:
@@ -2,33 +2,8 @@ module "main"
|
||||
|
||||
extern "puts" func puts(text: cstring)
|
||||
|
||||
struct Human
|
||||
{
|
||||
name: cstring
|
||||
|
||||
func print()
|
||||
{
|
||||
puts("human")
|
||||
}
|
||||
}
|
||||
|
||||
extern "main" func main(args: []cstring): i64
|
||||
{
|
||||
puts("test")
|
||||
let test: Human = {
|
||||
name = "uwu"
|
||||
}
|
||||
|
||||
if false
|
||||
{
|
||||
puts("uwu")
|
||||
}
|
||||
|
||||
while true
|
||||
{
|
||||
puts("count")
|
||||
}
|
||||
|
||||
test.print()
|
||||
return 0
|
||||
}
|
||||
Reference in New Issue
Block a user