solidity/test/libsolidity/syntaxTests/viewPureChecker/overriding.sol
2018-06-06 15:41:41 +01:00

8 lines
109 B
Solidity

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