solidity/test/libsolidity/syntaxTests/inheritance/override/public_vars_multiple2.sol
2020-07-20 15:18:23 +02:00

10 lines
273 B
Solidity

contract A {
function foo() external virtual view returns(uint) { return 4; }
function foo(uint ) external virtual view returns(uint) { return 4; }
function foo(uint , uint ) external view virtual returns(A) { }
}
contract X is A {
uint public override foo;
}
// ----