aboutsummaryrefslogblamecommitdiffstats
path: root/test/libsolidity/syntaxTests/nameAndTypeResolution/071_base_class_state_variable_internal_member.sol
blob: 774ea38e869f2cefc314d2f4a95e7f5cf859ca24 (plain) (tree)
1
2
3
4
5
6
7
8







                                                                         
contract Parent {
    uint256 internal m_aMember;
}
contract Child is Parent {
    function foo() public returns (uint256) { return Parent.m_aMember; }
}
// ----
// Warning: (83-151): Function state mutability can be restricted to pure