solidity/test/libsolidity/syntaxTests/viewPureChecker/overriding_no_restrict_warning.sol
2019-10-30 17:31:33 +01:00

8 lines
118 B
Solidity

contract D {
uint x;
function f() public { x = 2; }
}
contract C is D {
function f() public override {}
}