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

12 lines
174 B
Solidity

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