2020-03-09 21:14:07 +00:00
|
|
|
contract C {
|
|
|
|
function f() public returns (uint256) {
|
|
|
|
uint256 x = 1;
|
|
|
|
(x) = 2;
|
|
|
|
return x;
|
|
|
|
}
|
|
|
|
}
|
2020-04-17 20:24:33 +00:00
|
|
|
// ====
|
|
|
|
// compileViaYul: also
|
2020-11-21 13:54:16 +00:00
|
|
|
// compileToEwasm: also
|
2020-03-09 21:14:07 +00:00
|
|
|
// ----
|
|
|
|
// f() -> 2
|