zeek/testing/btest/language/rec-of-tbl.zeek
Patrick Kelley 8fd444092b initial
2025-05-07 15:35:15 -04:00

17 lines
203 B
Plaintext

# @TEST-EXEC: zeek -b %INPUT >output 2>&1
# @TEST-EXEC: btest-diff output
type x: record {
a: table[int] of count;
};
global y: x;
global yy: table[int] of count;
y$a = yy;
y$a[+5] = 3;
print y;