1
0
Fork 0
forked from koniifer/ableos

compiling return stmt

This commit is contained in:
mlokr 2024-05-10 21:38:15 +02:00
parent 68d53544fd
commit 81952cfc40
2 changed files with 4 additions and 0 deletions

View file

@ -0,0 +1,3 @@
main := ||: int {
return 10 - 20 / 2 + 4 * (2 + 2) - 4 * 4;
}

View file

@ -163,5 +163,6 @@ mod tests {
empty => "";
whitespace => " \t\n\r";
example => include_str!("../examples/main_fn.hb");
arithmetic => include_str!("../examples/arithmetic.hb");
}
}