solidity/test/libsolidity/syntaxTests/inheritance/override/override_stricter_mutability3.sol

8 lines
170 B
Solidity

contract A {
function foo() internal view virtual returns (uint256) {}
}
contract B is A {
function foo() internal pure override virtual returns (uint256) {}
}
// ----