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

8 lines
383 B
Solidity
Raw Normal View History

contract Test {
function f(uint[][] calldata) external { }
function g(uint[][1] calldata) external { }
}
// ----
2019-12-11 16:05:44 +00:00
// 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.