solidity/test/libsolidity/syntaxTests/viewPureChecker/overriding_no_restrict_warning.sol

8 lines
118 B
Solidity
Raw Normal View History

contract D {
uint x;
function f() public { x = 2; }
}
contract C is D {
2019-09-16 12:33:43 +00:00
function f() public override {}
}