solidity/test/libsolidity/syntaxTests/enums/global_enum_contract_name_clash.sol
2019-09-02 11:52:51 +02:00

5 lines
94 B
Solidity

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