aboutsummaryrefslogblamecommitdiffstats
path: root/test/libsolidity/syntaxTests/nameAndTypeResolution/319_invalid_array_declaration_with_signed_fixed_type.sol
blob: 83f0950db3aec7e32ba1d37df04ac18d5570ac2d (plain) (tree)
1
2
3
4
5
6
7






                                                                                             
contract test {
    function f() public {
        uint[fixed(3.5)] a; a;
    }
}
// ----
// TypeError: (55-65): Invalid array length, expected integer literal or constant expression.