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

11 lines
144 B
Solidity
Raw Normal View History

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