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

12 lines
169 B
Scilab
Raw Normal View History

int foo()
2015-10-09 16:28:47 +02:00
return 5
end
-- -- --
2015-10-09 16:28:47 +02:00
s(:statements,
s(:function, :int,
s(:name, :foo),
s(:parameters),
s(:statements,
s(:return,
s(:int, 5)))))