diff options
Diffstat (limited to 'test.lang')
| -rw-r--r-- | test.lang | 14 |
1 files changed, 11 insertions, 3 deletions
@@ -1,9 +1,17 @@ func main(a, b i64) i64 { - if a < b { + /*if a = b { let t = a a := b b := t - } + } else { + let t = a + a := b + b := t + }*/ /* TODO: error on failing to return from a function */ - return a + b + if a < b { + return 237 + a + 812734 + b + 81753 + 2389 + } else { + return 1 + a + 7 + 123897 + } } |
