restructure fs
This commit is contained in:
19
example/program.nub
Normal file
19
example/program.nub
Normal file
@@ -0,0 +1,19 @@
|
||||
import "core";
|
||||
|
||||
func main() {
|
||||
let i = 1;
|
||||
while true {
|
||||
let x = new Human
|
||||
{
|
||||
name = "test",
|
||||
age = 34958743
|
||||
};
|
||||
|
||||
i = i + 1;
|
||||
}
|
||||
}
|
||||
|
||||
struct Human {
|
||||
let name: String;
|
||||
let age: int64;
|
||||
}
|
||||
Reference in New Issue
Block a user