aboutsummaryrefslogblamecommitdiffstats
path: root/test/libsolidity/syntaxTests/nameAndTypeResolution/151_array_with_negative_length.sol
blob: b87160b0f545d9e2256a558de3443408f63d757a (plain) (tree)
1
2
3
4
5




                                                            
contract c {
    function f(uint a) public { uint8[-1] x; }
}
// ----
// TypeError: (51-53): Array with negative length specified.