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

5 lines
110 B
Solidity

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