solidity/test/libsolidity/semanticTests/various/decayed_tuple.sol
2023-05-11 10:56:55 -05:00

10 lines
143 B
Solidity

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