Tuple support in codegen

This commit is contained in:
gingerBill
2016-08-10 11:53:17 +01:00
parent c930841f83
commit 153c27c755
9 changed files with 244 additions and 112 deletions
+11
View File
@@ -2,7 +2,18 @@ import "basic"
TWO_HEARTS :: '💕';
tuple :: proc() -> (int, int) {
return 1, 2;
}
main :: proc() {
a, b : int = tuple();
print_int(a, 10);
print_string("\n");
print_int(b, 10);
print_string("\n");
/*
print_string("Chinese - \n");
print_string("Dutch - Hello wereld\n");