diff options
Diffstat (limited to 'code')
| -rw-r--r-- | code/demo.odin | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/code/demo.odin b/code/demo.odin index 7e4e5eed7..a302c39c8 100644 --- a/code/demo.odin +++ b/code/demo.odin @@ -4,17 +4,15 @@ main :: proc() { - x :: proc() -> (int, int) { - return 1, 2 - } y :: proc() -> (int, int) { return x() } + x :: proc() -> (int, int) { + return 1, 2 + } fmt.println(y()) - - arena: mem.Arena mem.init_arena_from_context(^arena, 1000) defer mem.free_arena(^arena) |