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

12 lines
195 B
Solidity

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