mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
14 lines
334 B
Solidity
14 lines
334 B
Solidity
pragma experimental ABIEncoderV2;
|
|
|
|
contract Test {
|
|
struct shouldBug {
|
|
bytes[2] deadly;
|
|
}
|
|
function killer(bytes[2] calldata weapon) pure external {
|
|
shouldBug(weapon);
|
|
}
|
|
}
|
|
|
|
// ----
|
|
// UnimplementedFeatureError: Copying nested dynamic calldata arrays to memory is not implemented in the old code generator.
|