Files

7 lines
150 B
Lua
Raw Permalink Normal View History

require("import") -- the import fn
import("ret_by_value") -- import code
a = ret_by_value.get_test()
assert(a.myInt == 100)
assert(a.myShort == 200)