zeek/testing/wrong-rec.bro
Robin Sommer 2f30c3d245 Adding some tests for the record-extension feature.
These will go somewhere else eventually, just making sure they don't
get lost.
2011-02-07 16:10:09 -08:00

13 lines
218 B
Text

# @TEST-EXEC-FAIL: bro %INPUT >output 2>&1
# @TEST-EXEC: btest-diff output
type Foo: record {
a: count;
b: count &optional;
};
redef record Foo += {
c: count;
d: string &optional;
};