zeek/testing/btest/Baseline/language.table-iterate-record-key-default-2/output
Arne Welzel cea7c0ab46 ID/Stmt: Introduce INIT_SKIP and use in ForStmt
Currently, loop vars are added to a function scope's inits and
initialized upon entering a function with default values. This
applies to vector, record and table types.

This is unnecessary for variables used in for loops as they are
guaranteed to be initialized while iterating.
2023-09-08 13:05:44 +02:00

13 lines
395 B
Text

### BTest baseline data generated by btest-diff. Do not edit. Use "btest -U/-u" to update. Requires BTest >= 0.63.
0, done parsing
0, populating table, expecting 4 my_seq() invocations
0, my_seq() invoked
1, my_seq() invoked
2, my_seq() invoked
3, my_seq() invoked
4, iterating table, expecting no my_seq() invocations
4, it, [id=1], 1
4, it, [id=4], 4
4, it, [id=3], 3
4, it, [id=2], 2
4, done