Static Analyzer for Solidity
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
slither/tests/lookup/private_variable.sol

13 lines
144 B

2 years ago
contract A{
uint private v = 10;
}
contract B{
uint v = 20;
}
contract C is B, A{
function f() public view returns(uint) {
return v;
}
}