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

12 lines
220 B
Solidity

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