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

5 lines
105 B
Solidity

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