1 2 3 4 5 6 7
contract D { uint x; function f() public { x = 2; } } contract C is D { function f() public {} }