solidity/test/libsolidity/semanticTests/various/decayed_tuple.sol
2020-03-19 14:42:25 +01:00

11 lines
144 B
Solidity

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