Merge pull request #6662 from ethereum/msgSender

Implement most trivial members.
This commit is contained in:
chriseth
2019-05-08 13:28:43 +02:00
committed by GitHub
3 changed files with 187 additions and 6 deletions
@@ -0,0 +1,11 @@
contract C {
function test() public view returns (bool) {
address x;
assembly { x := caller() }
return x == msg.sender;
}
}
// ====
// compileViaYul: true
// ----
// test() -> true