Fixed a ICE on calldata to struct member copy

This commit is contained in:
hrkrshnn
2022-01-31 17:26:11 +01:00
parent ef8911a629
commit 0fe5811459
8 changed files with 262 additions and 2 deletions
@@ -0,0 +1,9 @@
// Example from https://github.com/ethereum/solidity/issues/12558
pragma abicoder v2;
contract C {
function() external[1][] s0;
constructor(function() external[1][] memory i0)
{
i0[0] = s0[1];
}
}