solidity/test/libsolidity/syntaxTests/structs/global_structs_name_clash.sol

5 lines
115 B
Solidity
Raw Normal View History

2019-08-15 13:35:57 +00:00
struct S { uint256 a; }
struct S { uint256 a; }
// ----
// DeclarationError: (24-47): Identifier already declared.