aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/nameAndTypeResolution/192_positive_integers_to_signed_out_of_bound.sol
blob: d56045c2f607b7250a508643ff40359e06ec629b (plain) (blame)
1
2
3
4
5
contract test {
    int8 public j = 128;
}
// ----
// TypeError: (36-39): Type int_const 128 is not implicitly convertible to expected type int8.