summaryrefslogtreecommitdiff
path: root/test.xy
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2026-03-05 21:46:09 +0100
committerThomas Voss <mail@thomasvoss.com> 2026-03-05 21:46:09 +0100
commit4f723801d751d520263ce0f14b2cf409f60ac77e (patch)
tree2139dea317cbf9662ebf15d60fe54d88781b1b86 /test.xy
parent723fb5031a1f59f8df5d0a0dbf5dc0a54420e15f (diff)
Continue work on types and static analysis
Diffstat (limited to 'test.xy')
-rw-r--r--test.xy2
1 files changed, 2 insertions, 0 deletions
diff --git a/test.xy b/test.xy
index c49d138..a908c0e 100644
--- a/test.xy
+++ b/test.xy
@@ -27,6 +27,8 @@ def main′ = func() {
});
};
+def r, g, b u8 = 1, 2, 3;
+
def some_func = func(n u32) u32 { return n * 2; };
/* def MY_FLOAT = union { f f64; n u64; } { n = 0x482DEF }.f */