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

14 lines
247 B
Scilab

int foo( int n ,ref m)
return n
end
-- -- --
s(:statements,
s(:function, :int,
s(:name, :foo),
s(:parameters,
s(:parameter, :int, :n),
s(:parameter, :ref, :m)),
s(:statements,
s(:return,
s(:name, :n)))))