zeek/testing/btest/language/rec-comp-init.zeek
2019-04-16 16:08:57 -07:00

14 lines
245 B
Text

# @TEST-EXEC: bro -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;