btest update to include recursive value that doesn't require a record

This commit is contained in:
Vern Paxson 2022-05-05 16:55:03 -07:00
parent 58cdc0be09
commit d5f60cfaba
2 changed files with 7 additions and 0 deletions

View file

@ -25,3 +25,5 @@ s3, 20
s4, 9
3
3
srt, 0
srt, 4

View file

@ -97,4 +97,9 @@ event zeek_init()
print val_footprint(x);
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);
}