blob: 487e743271f75b886c1ad380ae1c3c24845b2909 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
|
contract c {
function f() public pure {
int a;
a = (1<<4095)*(1<<4095);
}
}
// ----
// TypeError: (71-90): Operator * not compatible with types int_const 5221...(1225 digits omitted)...5168 and int_const 5221...(1225 digits omitted)...5168. Precision is limited to 4096 bits
// TypeError: (71-90): Type int_const 5221...(1225 digits omitted)...5168 is not implicitly convertible to expected type int256.
|