mirror of
https://github.com/zeek/zeek.git
synced 2025-10-03 07:08:19 +00:00
Make break/next/continue outside loops an error (6.1 deprecation)
This commit is contained in:
parent
9a79b98a1e
commit
0110c15ee2
11 changed files with 15 additions and 17 deletions
|
@ -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()
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue