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

5 lines
99 B
Solidity
Raw Normal View History

2019-09-02 09:52:51 +00:00
enum E { A }
contract E {}
// ----
// DeclarationError 2333: (13-26): Identifier already declared.