diff options
| author | WormHeamer | 2025-08-05 02:25:06 -0400 |
|---|---|---|
| committer | WormHeamer | 2025-08-05 02:25:06 -0400 |
| commit | 3fba1bedb530b7115a012035846ff000031d56fc (patch) | |
| tree | 503dee95c155155d13196f6af64baac47f59f01e /test.lang | |
| parent | dcf0fb7f11acc03314bcf11602461b1235f9cef4 (diff) | |
test up
Diffstat (limited to 'test.lang')
| -rw-r--r-- | test.lang | 11 |
1 files changed, 5 insertions, 6 deletions
@@ -8,10 +8,9 @@ // also single-line now -proc main(a, b i64, c, d, e bool) { - let x = (a + -a) = (a xor a) - let y = (a + a) = (a * 2) - //return (x & y & (a = a) & (a = ~a)) | ((a - a) = (a + a)) - //return (a - a) = (a + a) - return c = d = e +proc main(a, b i64) { + //let x = (a + -b) = (a xor b) + //let y = (a + b) = (b * 2) + //return (x & y & (a = a) & (a = ~b)) | ((a + a) = (a / 2)) + return (a <= b) = ~(a > b) } |
