mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-03 14:18:47 +00:00
Restart LLVM IR SSA generation
This is the third go and I'm going for it!
This commit is contained in:
+8
-3
@@ -1,6 +1,11 @@
|
||||
type Vec2: struct { x, y: f32 }
|
||||
|
||||
|
||||
main :: proc() {
|
||||
// x : string;
|
||||
// x = "Hello";
|
||||
x : int;
|
||||
x = 137;
|
||||
x = 1 + x;
|
||||
|
||||
y : f32;
|
||||
y = 1.01;
|
||||
y = y + 0.99;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user