aboutsummaryrefslogtreecommitdiff
path: root/code
diff options
context:
space:
mode:
Diffstat (limited to 'code')
-rw-r--r--code/demo.odin12
1 files changed, 12 insertions, 0 deletions
diff --git a/code/demo.odin b/code/demo.odin
index 69d0763bb..c548a9430 100644
--- a/code/demo.odin
+++ b/code/demo.odin
@@ -6,7 +6,15 @@
#import "opengl.odin";
#import "os.odin";
+foo :: proc(x: int) -> f32 {
+ return 123;
+}
+
main :: proc() {
+
+ fmt.printf("%T\n", foo);
+
+when false {
/*
Version 0.1.1
@@ -57,6 +65,9 @@ main :: proc() {
To come very Soon™:
* Linux and OS X builds (unofficial ones do exist already)
*/
+ {
+
+ }
{
Fruit :: enum {
@@ -145,4 +156,5 @@ main :: proc() {
// align_of([vector 7]i32) != align_of([7]i32) // this may be the case
}
}
+}