diff options
| author | WormHeamer | 2025-10-21 05:47:19 -0400 |
|---|---|---|
| committer | WormHeamer | 2025-10-21 05:47:19 -0400 |
| commit | 3ca04326ddb36b8551acf417ef195d1572bb3d47 (patch) | |
| tree | 5b9d1d7bf90fcf60f883ca7ebe864b3a2281e2a5 /test.lang | |
| parent | ac15eb8b0ca41d502d8a26c360ff65f2b4a18d88 (diff) | |
almost there...
Diffstat (limited to 'test.lang')
| -rw-r--r-- | test.lang | 10 |
1 files changed, 8 insertions, 2 deletions
@@ -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 } |
