github.com/iotexproject/iotex-core@v1.14.1-rc1/action/protocol/execution/testdata-shanghai/tuple.sol (about) 1 // SPDX-License-Identifier: GPL-3.0 2 3 pragma solidity ^0.8.14; 4 5 contract A { 6 function tuple() public pure returns (uint256, string memory) { 7 return (1, "Hi"); 8 } 9 10 function getOne() public pure returns (uint256) { 11 uint256 a; 12 (a, ) = tuple(); 13 return a; 14 } 15 }