mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
16 lines
313 B
Text
16 lines
313 B
Text
# @TEST-REQUIRES: test "${ZEEK_USE_CPP}" != "1"
|
|
# @TEST-EXEC: zeek -b -O ZAM --no-opt-func=my_test %INPUT >output
|
|
# @TEST-EXEC: btest-diff output
|
|
|
|
# Tests that we can selectively exclude a function.
|
|
|
|
function my_test()
|
|
{
|
|
print "I shouldn't be ZAM code!";
|
|
}
|
|
|
|
event zeek_init()
|
|
{
|
|
my_test();
|
|
print my_test;
|
|
}
|