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