summaryrefslogtreecommitdiff
path: root/test.lang
diff options
context:
space:
mode:
authorWormHeamer2025-08-27 19:00:27 -0400
committerWormHeamer2025-08-27 19:00:27 -0400
commit5e38aebb97048d9c634e88f1be02f825a93720fe (patch)
tree5a02ecbf4bb49a0173f80a9d8bdea9b6fadc41d7 /test.lang
parent8c0a2fa3efdaf100b7119649863ecc173236153a (diff)
add scratch arena to Proc
Diffstat (limited to 'test.lang')
-rw-r--r--test.lang12
1 files changed, 2 insertions, 10 deletions
diff --git a/test.lang b/test.lang
index 3448ea8..b59ffe0 100644
--- a/test.lang
+++ b/test.lang
@@ -1,11 +1,3 @@
-/*func main(a, b i64) i64 {
- let x i64 = 0, y bool = true
- if a <> 0 {
- x := 1
- }
- return x + a
-}*/
-
-func main(a, b i64) i64 {
- return (a & b) & b & a
+func main(a, b, c i64) i64 {
+ return b xor ((a xor b) xor (b xor c) xor b)
}