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

12 lines
214 B
Solidity
Raw Normal View History

2019-03-18 10:21:41 +00:00
contract C {
function f(address a) public pure returns (address x) {
address b = a;
x = b;
}
}
// ====
// compileViaYul: true
// compileToEwasm: also
2019-03-18 10:21:41 +00:00
// ----
// f(address): 0x1234 -> 0x1234