solidity/test/libsolidity/semanticTests/various/decayed_tuple.sol

13 lines
198 B
Solidity

contract C {
function f() public returns (uint256) {
uint256 x = 1;
(x) = 2;
return x;
}
}
// ====
// compileToEwasm: also
// compileViaYul: also
// ----
// f() -> 2