solidity/test/libsolidity/syntaxTests/largeTypes/oversized_struct.sol

13 lines
280 B
Solidity
Raw Normal View History

// SPDX-License-Identifier: GPL-3.0
pragma solidity >= 0.0;
contract C {
struct S {
uint[2**255] a;
uint[2**255] b;
}
S s;
}
// ----
// TypeError 7676: (60-152): Contract too large for storage.
2020-07-14 08:32:11 +00:00
// TypeError 1534: (146-149): Type too large for storage.