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

9 lines
134 B
Solidity
Raw Normal View History

contract D {
uint x;
2019-11-05 17:25:34 +00:00
function f() virtual public { x = 2; }
}
contract C is D {
2019-09-16 12:33:43 +00:00
function f() public override {}
}
// ----