mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
12 lines
193 B
Text
12 lines
193 B
Text
# @TEST-EXEC: zeek -b %INPUT >out
|
|
# @TEST-EXEC: btest-diff out
|
|
|
|
event zeek_init() &priority=+10
|
|
{
|
|
local outer = 101;
|
|
|
|
local lambda = function[outer]()
|
|
{ print outer + 2; };
|
|
|
|
lambda();
|
|
}
|