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

11 lines
152 B
Scilab

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