aboutsummaryrefslogtreecommitdiff
path: root/code
diff options
context:
space:
mode:
Diffstat (limited to 'code')
-rw-r--r--code/demo.odin7
1 files changed, 7 insertions, 0 deletions
diff --git a/code/demo.odin b/code/demo.odin
index dc93ab9e9..5b1c82522 100644
--- a/code/demo.odin
+++ b/code/demo.odin
@@ -8,6 +8,13 @@
#import "halloc.odin";
main :: proc() {
+ m: map[int]int;
+ m[123] = 312;
+ fmt.println(m[123]);
+ delete(m, 123);
+ fmt.println(m[123]);
+
+
/*
/*
Version 0.1.1