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

12 lines
187 B
Scilab
Raw Normal View History

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