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

15 lines
246 B
Plaintext

# @TEST-EXEC: zeek -b %INPUT >output 2>&1
# @TEST-EXEC: btest-diff output
# Make sure composit types in records are initialized.
type Foo: record {
a: set[count];
b: table[count] of string;
c: vector of string;
};
global f: Foo;
print f;