mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
6 lines
148 B
Solidity
6 lines
148 B
Solidity
|
contract test {
|
||
|
uint8 public x = 700;
|
||
|
}
|
||
|
// ----
|
||
|
// TypeError: (37-40): Type int_const 700 is not implicitly convertible to expected type uint8.
|