soml-parser/test/cases/function_definition/function_no_arg.tst

10 lines
138 B
Scilab
Raw Normal View History

int foo()
5
end
-- -- --
s(:list, [s(:function, :int,
s(:name, "foo"),
s(:parameters),
s(:expressions,
s(:int, 5)))])