solidity/test/libsolidity/syntaxTests/array/calldata_multi_dynamic_V1.sol

9 lines
386 B
Solidity

pragma abicoder v1;
contract Test {
function f(uint[][] calldata) external { }
function g(uint[][1] calldata) external { }
}
// ----
// TypeError 4957: (51-68): This type is only supported in ABI coder v2. Use "pragma abicoder v2;" to enable the feature.
// TypeError 4957: (98-116): This type is only supported in ABI coder v2. Use "pragma abicoder v2;" to enable the feature.