aboutsummaryrefslogblamecommitdiffstats
path: root/test/libsolidity/syntaxTests/nameAndTypeResolution/054_inheritance_basic.sol
blob: 6229a1dc5eecc1884b7b7d765dd26a1ad1827f52 (plain) (tree)
1
2
3
4
5




                                                                    
contract base { uint baseMember; struct BaseType { uint element; } }
contract derived is base {
    BaseType data;
    function f() public { baseMember = 7; }
}