mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
17 lines
337 B
Text
17 lines
337 B
Text
# @TEST-DOC: Regression test for coercing vectors-of-any
|
|
# @TEST-EXEC: zeek -b -O ZAM %INPUT >output
|
|
# @TEST-EXEC: btest-diff output
|
|
|
|
module X;
|
|
|
|
export {
|
|
option o: vector of string = vector();
|
|
}
|
|
|
|
event zeek_init()
|
|
{
|
|
local x: any = vector();
|
|
Config::set_value("X::o", vector("a") + (x as vector of string));
|
|
print X::o;
|
|
print x;
|
|
}
|