ox

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

commit 3c5438bb8dd23b071dd087be96e62be00c4a80f0
parent 79790dc4e33acdca7fc70ca35a154cca55b8b9d0
Author: citbl <citbl@citbl.org>
Date:   Sun, 16 Nov 2025 19:11:30 +1000

add test for return expr as funccall

Diffstat:
Atests/ex-return-func-call.ox | 11+++++++++++
1 file changed, 11 insertions(+), 0 deletions(-)

diff --git a/tests/ex-return-func-call.ox b/tests/ex-return-func-call.ox @@ -0,0 +1,11 @@ +int yes_we_can() { + return 5; +} + +int can_we_do_this() { + return yes_we_can(); +} + +void main() { + print(can_we_do_this()); +}