ox

The Ox programming language, compiler and tools (WIP)
Log | Files | Refs | README | LICENSE

commit b66bbb03eb01c17a08e732e45be2c32e9b1c86f1
parent c836a8ac1cafe99032c1e3685576f482baff1392
Author: citbl <citbl@citbl.org>
Date:   Sun, 16 Nov 2025 18:48:19 +1000

minor

Diffstat:
Mtests/ex-return-given-expr.ox | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/tests/ex-return-given-expr.ox b/tests/ex-return-given-expr.ox @@ -1,9 +1,9 @@ int gimme(int ret_value) { - int ret = ret_value + 2; + int ret = ret_value * 2; return ret; } void main() { - print("expected returned value of 10 = 12 + 2 - 4:"); - print(gimme(6 + 6) - 4); + print("expected returned value of 20 = (6 + 6) * 2 - 4:"); + print(gimme(6 + 6) - 4);q }