aboutsummaryrefslogblamecommitdiffstats
path: root/test/libsolidity/syntaxTests/viewPureChecker/overriding_no_restrict_warning.sol
blob: c82c79083328ccfc4c243b11c5e753e9acc1ce4b (plain) (tree)
1
2
3
4
5
6
7






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