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

11 lines
171 B
Scilab

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