aboutsummaryrefslogblamecommitdiffstats
path: root/test/libsolidity/syntaxTests/nameAndTypeResolution/510_large_storage_array_mapping.sol
blob: 046a27f71373056ae8ebef60015bc32b171191c4 (plain) (tree)
1
2
3
4
5




                                                                                                                                                                                                                   
contract C {
    mapping(uint => uint[2**100]) x;
}
// ----
// Warning: (17-48): 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.