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

14 lines
340 B
Solidity
Raw Normal View History

pragma experimental ABIEncoderV2;
contract Test {
struct shouldBug {
uint256[][] deadly;
}
function killer(uint256[][] calldata weapon) pure external {
shouldBug(weapon);
}
}
// ----
// UnimplementedFeatureError: Copying nested dynamic calldata arrays to memory is not implemented in the old code generator.