zeek/testing/btest/language/wrong-record-extension.zeek
Patrick Kelley 8fd444092b initial
2025-05-07 15:35:15 -04:00

15 lines
278 B
Plaintext

# @TEST-EXEC-FAIL: zeek -b %INPUT >output.tmp 2>&1
# @TEST-EXEC: sed 's#^.*:##g' <output.tmp >output
# @TEST-EXEC: btest-diff output
type Foo: record {
a: count;
b: count &optional;
};
redef record Foo += {
c: count;
d: string &optional;
};