summaryrefslogtreecommitdiff
path: root/test.lang
diff options
context:
space:
mode:
authorWormHeamer2025-08-04 23:05:46 -0400
committerWormHeamer2025-08-04 23:05:46 -0400
commita4eca17c4156863108cd9bec7834bbb1681c0bf7 (patch)
treec979e040bdf40277800972acc0f0f35824a774d0 /test.lang
parent88b01f43312eeceba87a1378be5cd63bb11f167f (diff)
NODE_KEEP macro
Diffstat (limited to 'test.lang')
-rw-r--r--test.lang2
1 files changed, 1 insertions, 1 deletions
diff --git a/test.lang b/test.lang
index c2661a4..1d84f4b 100644
--- a/test.lang
+++ b/test.lang
@@ -11,5 +11,5 @@
proc main(a i64) {
let x = (a + -a) = (a xor a)
let y = (a + a) = (a * 2)
- return x & y & (a = a) & ((a + 2) <> a)
+ return x & y & (a = a) & ((a + 2) <> a) & (a = ~a)
}