//Write your own contracts here. Currently compiles using solc v0.4.15+commit.bbb8e64f. pragma solidity ^0.4.18; contract Parent { Child _child ; function Parent(Child child) public { _child = child; } function call_child() public{ _child.call_me(msg.sender); } uint value; } contract Child { address public _realMsgSender; address public _seenMsgSender; function call_me(address realMsgSender) public { _realMsgSender = realMsgSender; _seenMsgSender = msg.sender; } }
0.4.19