mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
btest update to include recursive value that doesn't require a record
This commit is contained in:
parent
58cdc0be09
commit
d5f60cfaba
2 changed files with 7 additions and 0 deletions
|
@ -25,3 +25,5 @@ s3, 20
|
||||||
s4, 9
|
s4, 9
|
||||||
3
|
3
|
||||||
3
|
3
|
||||||
|
srt, 0
|
||||||
|
srt, 4
|
||||||
|
|
|
@ -97,4 +97,9 @@ event zeek_init()
|
||||||
|
|
||||||
print val_footprint(x);
|
print val_footprint(x);
|
||||||
print val_footprint(y);
|
print val_footprint(y);
|
||||||
|
|
||||||
|
local self_ref_table: table[string] of any;
|
||||||
|
print "srt", val_footprint(self_ref_table);
|
||||||
|
self_ref_table["x"] = self_ref_table;
|
||||||
|
print "srt", val_footprint(self_ref_table);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue