Handle calling conventions correctly

This commit is contained in:
Ginger Bill
2016-12-22 23:06:31 +00:00
parent 923b039cf6
commit d714bece47
19 changed files with 290 additions and 203 deletions

View File

@@ -1,4 +1,4 @@
import (
import {
"atomic.odin";
"fmt.odin";
"hash.odin";
@@ -8,17 +8,12 @@ import (
"os.odin";
"sync.odin";
"utf8.odin";
)
proc main() {
var x = proc() -> int {
proc print_here() {
fmt.println("Here");
}
print_here();
return 1;
};
fmt.println(x());
win32 "sys/windows.odin";
}
proc main() {
var x = ~(0 as u32);
var y = x << 32;
fmt.println(y);
}