go-ethereum/contracts/solidity_0.6/state_variable_shadowing_disabled.sol
olumuyiwadad b5abbfed79 new EVM Upgrade
- Solidity Upgraded up to v0.8.0
-  Fixed and Added eth_chainId
- Fix error in TransactionRecipet
- Reward halving issue fixed
2021-09-21 16:53:46 +05:30

9 lines
233 B
Solidity

pragma solidity ^0.6.0;
contract Test {
address x;
}
contract TestOverride is Test {
// This declaration would throw an error because its shadowing a
// state variable already in its base inherited contract Test
address x;
}