Merge pull request #10991 from ethereum/bareCallNoReturndatacopy

[Sol->Yul] Fix bare call wihout returndatacopy.
This commit is contained in:
chriseth
2021-02-23 13:24:50 +01:00
committed by GitHub
2 changed files with 13 additions and 10 deletions
@@ -0,0 +1,10 @@
contract C {
function f() public returns (bool) {
(bool success, ) = address(1).call("");
return success;
}
}
// ====
// compileViaYul: also
// ----
// f() -> true