From 5e38aebb97048d9c634e88f1be02f825a93720fe Mon Sep 17 00:00:00 2001 From: WormHeamer Date: Wed, 27 Aug 2025 19:00:27 -0400 Subject: add scratch arena to Proc --- test.lang | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) (limited to 'test.lang') 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) } -- cgit v1.2.3