fmt: add keep tests for struct init, fix warnings

pull/4997/head
Delyan Angelov 2020-05-23 12:05:21 +03:00
parent c690c2f984
commit 43eaec325d
3 changed files with 13 additions and 0 deletions

View File

@ -1,4 +1,5 @@
import os
fn main() {
os.system('echo hi')
}

View File

@ -1,4 +1,5 @@
import os
fn main() {
os.system('echo hi')
}

View File

@ -0,0 +1,11 @@
struct User {
age int
name string
}
fn main() {
u := User{
age: 54
}
println(u)
}