solidity/test/libsolidity/syntaxTests/inheritance/shadowing_base_state_vars.sol

9 lines
125 B
Solidity

contract A {
uint i;
}
contract B is A {
uint i;
}
// ----
// DeclarationError 9097: (43-49): Identifier already declared.