contract A { | |
A other; | |
function Assign(address a) { | |
other = A(a); | |
} | |
function Get() constant returns(bytes8[]) { | |
bytes8[] stuff; | |
return stuff; | |
} | |
function Copy() { | |
bytes8[] memory stuff = other.Get(); | |
} | |
} | |
contract Test { | |
function Test() { | |
A one = new A(); | |
A two = new A(); | |
one.Assign(address(two)); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment