mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 22:58:20 +00:00
19 lines
327 B
Text
19 lines
327 B
Text
# @TEST-EXEC: zeek -b %INPUT >out
|
|
# @TEST-EXEC: btest-diff out
|
|
|
|
local outer = 100;
|
|
|
|
local lambda = function()
|
|
{
|
|
local inner = function(a: count, b: count, c: count, d: count, e: count, f: count)
|
|
{
|
|
print outer + f;
|
|
};
|
|
|
|
inner(1, 2, 3, 4, 5, 6);
|
|
};
|
|
|
|
lambda();
|
|
|
|
local copyLambda = copy(copy(copy(lambda)));
|
|
copyLambda();
|