solidity/test/libsolidity/syntaxTests/array/calldata_multi_dynamic_V1.sol
2022-04-01 23:41:18 -05:00

9 lines
427 B
Solidity

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