summaryrefslogtreecommitdiff
path: root/test.lang
diff options
context:
space:
mode:
authorWormHeamer2025-10-21 06:22:55 -0400
committerWormHeamer2025-10-21 06:22:55 -0400
commit9fb0d728d0440fc32394b6286ecadf2f4ec35fa1 (patch)
treea10892b5d94db1c6dcf5d79045680428c42aadcf /test.lang
parentb44e40db00906982485d98bebc2e3bed6c9783b9 (diff)
cleanup
Diffstat (limited to 'test.lang')
-rw-r--r--test.lang9
1 files changed, 6 insertions, 3 deletions
diff --git a/test.lang b/test.lang
index 6dc6a5b..15a3338 100644
--- a/test.lang
+++ b/test.lang
@@ -1,9 +1,12 @@
func main(a, b i64) i64 {
if a < b {
- a := 4
+ if a = 5 {
+ a := 2
+ } else {
+ a := 7
+ }
} else {
- a := 2
- b := 5
+ a := 4
}
return a + b
}