summaryrefslogtreecommitdiff
path: root/test.lang
diff options
context:
space:
mode:
Diffstat (limited to 'test.lang')
-rw-r--r--test.lang10
1 files changed, 8 insertions, 2 deletions
diff --git a/test.lang b/test.lang
index b59ffe0..6dc6a5b 100644
--- a/test.lang
+++ b/test.lang
@@ -1,3 +1,9 @@
-func main(a, b, c i64) i64 {
- return b xor ((a xor b) xor (b xor c) xor b)
+func main(a, b i64) i64 {
+ if a < b {
+ a := 4
+ } else {
+ a := 2
+ b := 5
+ }
+ return a + b
}