solidity/test/libsolidity/semanticTests/viaYul/local_address_assignment.sol

12 lines
214 B
Solidity

contract C {
function f(address a) public pure returns (address x) {
address b = a;
x = b;
}
}
// ====
// compileViaYul: true
// compileToEwasm: also
// ----
// f(address): 0x1234 -> 0x1234