mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
14 lines
No EOL
390 B
Text
14 lines
No EOL
390 B
Text
# Ensures that an error doesn't print out for option variables
|
|
# that are containers. These get automatically initialized so
|
|
# there's no need to manually initialize them.
|
|
|
|
# @TEST-EXEC: zeek -b %INPUT > out
|
|
# @TEST-EXEC: btest-diff out
|
|
|
|
option foo: set[count] &redef;
|
|
option foo2: table[count] of count &redef;
|
|
option foo3: vector of count &redef;
|
|
|
|
print |foo|;
|
|
print |foo2|;
|
|
print |foo3|; |