aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/nameAndTypeResolution/079_fallback_function_inheritance.sol
blob: a35a80938b7e05aec8e719a8d13e7f7b75247ee2 (plain) (blame)
1
2
3
4
5
6
7
contract A {
    uint x;
    function() public { x = 1; }
}
contract C is A {
    function() public { x = 2; }
}