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;
}
}
// ====
// compileToEwasm: also
// compileViaYul: also
// ----
// f(uint256): 6 -> 6