solidity/test/libsolidity/syntaxTests/iceRegressionTests/large_struct_array.sol

11 lines
311 B
Solidity
Raw Normal View History

2019-10-21 13:14:20 +00:00
// Used to cause ICE because of a too strict assert
pragma experimental ABIEncoderV2;
contract C {
struct S { uint a; T[222222222222222222222222222] sub; }
struct T { uint[] x; }
function f() public returns (uint, S memory) {
}
}
// ----
// TypeError 1534: (226-234): Type too large for memory.