mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Fix bare call wihout returndatacopy.
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
contract C {
|
||||
function f() public returns (bool) {
|
||||
(bool success, ) = address(1).call("");
|
||||
return success;
|
||||
}
|
||||
}
|
||||
// ====
|
||||
// compileViaYul: also
|
||||
// ----
|
||||
// f() -> true
|
||||
Reference in New Issue
Block a user