mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
26 lines
442 B
Text
26 lines
442 B
Text
# @TEST-DOC: Locals work with the blank identifier, but can not be referenced.
|
|
|
|
# @TEST-EXEC: zeek -b %INPUT
|
|
# @TEST-EXEC: TEST_DIFF_CANONIFIER=$SCRIPTS/diff-remove-abspath btest-diff .stderr
|
|
event zeek_init()
|
|
{
|
|
local _ = "1";
|
|
}
|
|
|
|
event zeek_init()
|
|
{
|
|
local _: string = "1";
|
|
local _: count = 1;
|
|
}
|
|
|
|
event zeek_init()
|
|
{
|
|
local _: string = "1";
|
|
const _: count = 1;
|
|
}
|
|
|
|
event zeek_init()
|
|
{
|
|
const _: string = "1";
|
|
const _: count = 1;
|
|
}
|