mirror of
https://github.com/KevinMidboe/linguist.git
synced 2025-10-29 09:40:21 +00:00
16 lines
253 B
Perl
16 lines
253 B
Perl
|
|
|
|
terra foo()
|
|
return (1),(2)
|
|
end
|
|
|
|
terra bar()
|
|
var c = [quote var a = 3 in a end]
|
|
var d = 5
|
|
c = c + 10
|
|
return [quote var a = 3 in [quote var b = 4 in a + b + c + d end] end]
|
|
end
|
|
local test = require("test")
|
|
test.meq({1,2},foo())
|
|
assert(25 == bar())
|