solidity/test/libsolidity/syntaxTests/inheritance/override/public_vars_multiple4.sol
2021-04-20 17:38:29 +02:00

10 lines
305 B
Solidity

contract ERC20 {
function balanceOf(address) external virtual view returns (uint) {}
function balanceOf(uint) external virtual view returns (uint) {}
function balanceOf() external virtual view returns (uint) {}
}
contract C is ERC20 {
mapping(address => uint) public override balanceOf;
}
// ----