diff options
Diffstat (limited to 'code')
| -rw-r--r-- | code/demo.odin | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/code/demo.odin b/code/demo.odin index f93c1575b..897a5a878 100644 --- a/code/demo.odin +++ b/code/demo.odin @@ -1,4 +1,4 @@ -import ( +import { "atomic.odin"; "fmt.odin"; "hash.odin"; @@ -8,17 +8,12 @@ import ( "os.odin"; "sync.odin"; "utf8.odin"; -) + win32 "sys/windows.odin"; +} proc main() { - var x = proc() -> int { - proc print_here() { - fmt.println("Here"); - } - - print_here(); - return 1; - }; - fmt.println(x()); + var x = ~(0 as u32); + var y = x << 32; + fmt.println(y); } |