solidity/test/libsolidity/syntaxTests/structs/global_struct_contract_name_clash.sol
2019-09-02 11:17:42 +02:00

5 lines
105 B
Solidity

struct S { uint256 a; }
contract S {}
// ----
// DeclarationError: (24-37): Identifier already declared.