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

9 lines
120 B
Solidity
Raw Normal View History

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