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

5 lines
94 B
Solidity
Raw Normal View History

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