solidity/test/libsolidity/semanticTests/viaYul/local_address_assignment.sol
2022-05-19 20:23:28 +02:00

11 lines
191 B
Solidity

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