solidity/test/libsolidity/syntaxTests/inheritance/override/override_private1.sol
2020-03-17 16:15:59 +01:00

9 lines
198 B
Solidity

contract A {
function test() public returns (uint256) {}
}
contract X is A {
function test() private returns (uint256) {}
}
// ----
// TypeError: (79-123): Overriding function visibility differs.