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

11 lines
322 B
Solidity

// Used to cause ICE because of a too strict assert
pragma abicoder v2;
contract C {
struct S { uint a; T[222222222222222222222222222] sub; }
struct T { uint[] x; }
function f() public returns (uint, S memory) {
}
}
// ----
// TypeError 1534: (226-234='S memory'): Type too large for memory.