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

5 lines
99 B
Solidity

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