aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/nameAndTypeResolution/195_positive_integers_to_unsigned_out_of_bound.sol
blob: 812162296df0519472cdcdcf5b401e0a2c281884 (plain) (blame)
1
2
3
4
5
contract test {
    uint8 public x = 700;
}
// ----
// TypeError: (37-40): Type int_const 700 is not implicitly convertible to expected type uint8.