12 lines
435 B
Plaintext
12 lines
435 B
Plaintext
|
|
const int intMin = -2147483648;
|
||
|
|
const int intMinMinusOne = -2147483649; // error
|
||
|
|
const int intMax = 2147483647;
|
||
|
|
const int intMaxPlusOne = 2147483648; // error
|
||
|
|
int cast_int = int(2147483648.); // error
|
||
|
|
|
||
|
|
/*%%*
|
||
|
|
value is out of range for type 'int': -2147483649
|
||
|
|
value is out of range for type 'int': 2147483648
|
||
|
|
value is out of range for type 'int': 2147483648
|
||
|
|
*%%*/
|