summaryrefslogtreecommitdiff
path: root/test.lang
diff options
context:
space:
mode:
authorWormHeamer2025-08-04 17:38:23 -0400
committerWormHeamer2025-08-04 17:38:23 -0400
commit22aa7559a37c49def05e8a43b12561b17a4af258 (patch)
tree028a9a9883cbc54ec21ed0332c77d838bda6a9b8 /test.lang
parent3db2e548d80d0bfa213d0df73833b1b1b4e0a4f7 (diff)
make NodeInputs statically sized, peephole a + ~a and a ^ ~a
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 9e9dd9b..2277fc3 100644
--- a/test.lang
+++ b/test.lang
@@ -9,6 +9,6 @@
// also single-line now
proc main(a i64) {
- return a xor ~a
+ return a + -a
// (true = 0) = (a xor b)
}