blob: 8f2c6438034575f3e7d3bd1c50e211aa730cb301 (
plain) (
tree)
|
|
// test for issue #1126 https://github.com/ethereum/cpp-ethereum/issues/1126
contract Parent {
uint256 public m_aMember;
}
contract Child is Parent {
function foo() public returns (uint256) { return Parent.m_aMember; }
}
// ----
// Warning: (158-226): Function state mutability can be restricted to pure
|