soml-parser/test/cases/function_definition/function_no_arg.tst
2015-10-09 17:28:47 +03:00

12 lines
169 B
Scilab

int foo()
return 5
end
-- -- --
s(:statements,
s(:function, :int,
s(:name, :foo),
s(:parameters),
s(:statements,
s(:return,
s(:int, 5)))))