solidity/test/libsolidity/syntaxTests/nameAndTypeResolution/192_positive_integers_to_signed_out_of_bound.sol

6 lines
151 B
Solidity
Raw Normal View History

contract test {
int8 public j = 128;
}
// ----
// TypeError 7407: (36-39): Type int_const 128 is not implicitly convertible to expected type int8.