2020-03-09 21:14:07 +00:00
|
|
|
contract C {
|
|
|
|
function f() public returns (uint256 x, uint256 y) {
|
|
|
|
x = 3;
|
|
|
|
y = 6;
|
|
|
|
uint256[2] memory z = [x, y];
|
|
|
|
return (z[0], z[1]);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-07-20 15:17:19 +00:00
|
|
|
// ====
|
|
|
|
// compileViaYul: also
|
2020-03-09 21:14:07 +00:00
|
|
|
// ----
|
|
|
|
// f() -> 3, 6
|