mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
18 lines
251 B
Text
18 lines
251 B
Text
# @TEST-EXEC: zeek -b %INPUT >out
|
|
# @TEST-EXEC: btest-diff out
|
|
|
|
function foo()
|
|
{ print "foo"; }
|
|
|
|
function bar()
|
|
{ print "bar"; }
|
|
|
|
global baz = bar;
|
|
|
|
event zeek_init()
|
|
{
|
|
print foo == bar;
|
|
print foo != bar;
|
|
print bar == baz;
|
|
print bar != baz;
|
|
}
|