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

5 lines
110 B
Solidity

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