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

13 lines
198 B
Solidity
Raw Normal View History

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