solidity/test/libsolidity/syntaxTests/enums/global_enum_name_clash.sol

5 lines
98 B
Solidity

enum E { A }
enum E { A }
// ----
// DeclarationError 2333: (13-25): Identifier already declared.