mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
16 lines
401 B
Text
16 lines
401 B
Text
# @TEST-EXEC-FAIL: zeek -b %INPUT 2>err
|
|
# @TEST-EXEC: TEST_DIFF_CANONIFIER=$SCRIPTS/diff-remove-abspath btest-diff err
|
|
|
|
type WithCount: record {
|
|
a: count;
|
|
};
|
|
|
|
type WithInt: record {
|
|
a: int;
|
|
};
|
|
|
|
type CountRecVec: vector of WithCount;
|
|
global vec_count_fail = CountRecVec([$a=+1], [$a=-2], [$a=3.0]);
|
|
|
|
type IntRecVec: vector of WithInt;
|
|
global vec_int_fail = IntRecVec([$a=1.0], [$a=+2.0], [$a=-3.0]);
|