solidity/test/libsolidity/syntaxTests/inheritance/shadowing_base_state_vars.sol
2019-12-03 21:20:03 +01:00

9 lines
120 B
Solidity

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