solidity/test/libsolidity/syntaxTests/array/calldata_multi_dynamic_V1.sol
2019-12-12 10:59:07 +01:00

8 lines
383 B
Solidity

contract Test {
function f(uint[][] calldata) external { }
function g(uint[][1] calldata) external { }
}
// ----
// TypeError: (31-48): This type is only supported in ABIEncoderV2. Use "pragma experimental ABIEncoderV2;" to enable the feature.
// TypeError: (78-96): This type is only supported in ABIEncoderV2. Use "pragma experimental ABIEncoderV2;" to enable the feature.