solidity/test/libsolidity/syntaxTests/array/nested_calldata_memory2.sol
2020-05-25 10:48:42 +02:00

14 lines
342 B
Solidity

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