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

13 lines
313 B
Solidity

contract C {
struct R { uint[10][10] y; }
struct S { uint a; uint b; R d; uint[20][20][2999999999999999999999999990] c; }
function f() public pure {
C.S memory y;
C.S[10] memory z;
y.a < 2;
z; y;
}
}
// ----
// TypeError 1534: (169-181): Type too large for memory.