solidity/test/libsolidity/syntaxTests/viewPureChecker/overriding_no_restrict_warning.sol
2018-07-04 11:25:45 +02:00

8 lines
109 B
Solidity

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