summaryrefslogtreecommitdiff
path: root/test.lang
diff options
context:
space:
mode:
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)
}