summaryrefslogtreecommitdiff
path: root/test.lang
diff options
context:
space:
mode:
authorWormHeamer2025-08-04 00:43:51 -0400
committerWormHeamer2025-08-04 00:43:51 -0400
commita5e5749e41de721c2e982f42f6ba27fc2b6d69c1 (patch)
treeb35b1934468b49384cb185a058e4a1098cb9379e /test.lang
parent487e48e985c6fa6762454af661f666fbe77fcdd1 (diff)
add projection nodes, fix peephole optimization
Diffstat (limited to 'test.lang')
-rw-r--r--test.lang4
1 files changed, 2 insertions, 2 deletions
diff --git a/test.lang b/test.lang
index a1c1183..0bfcd0a 100644
--- a/test.lang
+++ b/test.lang
@@ -8,6 +8,6 @@
// also single-line now
-proc main {
- return (5 > 4) = (4 < 5)
+proc main(a i64, b i64) {
+ return (4 + (3 * (a + 2 + b + 4) * 5) + 8) < 3
}