Files
l2/tests/call_syntax_parens.sl

17 lines
197 B
Plaintext
Raw Normal View History

2026-01-08 13:15:27 +01:00
import ../stdlib/stdlib.sl
import ../stdlib/io.sl
import ../fn.sl
word main
2026-01-08 13:15:27 +01:00
2 40 +
puti cr
extend-syntax
foo(1, 2)
puti cr
0
end
2026-01-08 13:15:27 +01:00
fn foo(int a, int b){
return a + b;
}