Make break/next/continue outside loops an error (6.1 deprecation)

This commit is contained in:
Tim Wojtulewicz 2023-06-01 16:05:41 +02:00 committed by Tim Wojtulewicz
parent 9a79b98a1e
commit 0110c15ee2
11 changed files with 15 additions and 17 deletions

View file

@ -1,6 +1,6 @@
# @TEST-DOC: Check break and next usage within for, while, switch and hooks.
# @TEST-EXEC: zeek -b %INPUT
# @TEST-EXEC-FAIL: zeek -b %INPUT
# @TEST-EXEC: TEST_DIFF_CANONIFIER=$SCRIPTS/diff-remove-abspath btest-diff .stderr
function f()
{