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;
}
}
// ====
// compileToEwasm: also
// compileViaYul: also
// ----
// f(address): 0x1234 -> 0x1234