mirror of
https://github.com/odin-lang/Odin.git
synced 2026-03-03 23:28:20 +00:00
Handle calling conventions correctly
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user