add main() to example

This commit is contained in:
Luna 2019-09-29 12:03:17 -03:00
parent f84eb16490
commit f00741deca

View file

@ -29,8 +29,6 @@ fn add(a: i32, b: i32) i32 {
return a + b;
}
// type is void by default
//fn main() {
// print("piss\n");
// // print("2 + 2 = %d\n", add(1, 2));
//}
fn main() i32 {
return 0;
}