mirror of
https://github.com/zeek/zeek.git
synced 2025-10-01 22:28:20 +00:00
fixes for re-declaring type identifiers in inconsistent ways - addresses GH-2686
This commit is contained in:
parent
0700427bac
commit
941ecee692
4 changed files with 41 additions and 0 deletions
|
@ -0,0 +1,2 @@
|
|||
### BTest baseline data generated by btest-diff. Do not edit. Use "btest -U/-u" to update. Requires BTest >= 0.63.
|
||||
error in <...>/redeclaration-redefinition-errors.zeek, line 2: Identifier f has already been declared and is not a type
|
|
@ -0,0 +1,2 @@
|
|||
### BTest baseline data generated by btest-diff. Do not edit. Use "btest -U/-u" to update. Requires BTest >= 0.63.
|
||||
error in <...>/redeclaration-redefinition-errors.zeek, line 2: Type f has already been declared at <...>/redeclaration-redefinition-errors.zeek:1
|
|
@ -59,3 +59,11 @@ global f: function();
|
|||
global f = function() { };
|
||||
global f: hook();
|
||||
global f: event();
|
||||
|
||||
# @TEST-START-NEXT
|
||||
global f = function() { };
|
||||
type f: bool;
|
||||
|
||||
# @TEST-START-NEXT
|
||||
type f: record {};
|
||||
type f: bool;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue