github.com/iotexproject/iotex-core@v1.14.1-rc1/action/protocol/execution/testdata-shanghai/storage-test.sol (about)

     1  // SPDX-License-Identifier: GPL-3.0
     2  
     3  pragma solidity ^0.8.14;
     4  
     5  contract tester {
     6      string[] public A;
     7  
     8      function storeStrings(string memory a, int256 n) public {
     9          for (int256 i = 0; i < n; i++) {
    10              A.push(a);
    11          }
    12      }
    13  }