xref: /aosp_15_r20/external/skia/resources/sksl/errors/OverflowIntLiteral.rts (revision c8dee2aa9b3f27cf6c858bd81872bdeb2c07ed17)
1const int intMin         = -2147483648;
2const int intMinMinusOne = -2147483649;                 // error
3const int intMax         = 2147483647;
4const int intMaxPlusOne  = 2147483648;                  // error
5int   cast_int   = int(2147483648.);                    // error
6
7/*%%*
8value is out of range for type 'int': -2147483649
9value is out of range for type 'int': 2147483648
10value is out of range for type 'int': 2147483648
11*%%*/
12