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

9 lines
226 B
Solidity

pragma abicoder v1;
contract C {
function test() public pure {
abi.encode([new uint[](5), new uint[](7)]);
}
}
// ----
// TypeError 2056: (86-116='[new uint[](5), new uint[](7)]'): This type cannot be encoded.