zeek/testing/btest/language/rec-comp-init.bro
2011-05-10 18:19:27 -07:00

14 lines
242 B
Text

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