solidity/test/libsolidity/syntaxTests/types/rational_number_array_index_limit.sol
2018-04-16 11:45:55 +02:00

6 lines
258 B
Solidity

contract c {
uint[2**253] data;
}
// ----
// Warning: (17-34): Variable covers a large part of storage and thus makes collisions likely. Either use mappings or dynamic arrays and allow their size to be increased only in small quantities per transaction.