1cb93a386Sopenharmony_ci// Expect 6 errors
2cb93a386Sopenharmony_ci
3cb93a386Sopenharmony_ciconst int intMin         = -2147483648;
4cb93a386Sopenharmony_ciconst int intMinMinusOne = -2147483649;                 // error
5cb93a386Sopenharmony_ciconst int intMax         = 2147483647;
6cb93a386Sopenharmony_ciconst int intMaxPlusOne  = 2147483648;                  // error
7cb93a386Sopenharmony_ci
8cb93a386Sopenharmony_cishort4 s4_neg = short4(-32766, -32767, -32769, -32768); // error -32769
9cb93a386Sopenharmony_cishort4 s4_pos = short4(32765, 32768, 32766, 32767);     // error 32768
10cb93a386Sopenharmony_ci
11cb93a386Sopenharmony_ciint   cast_int   = int(2147483648.);                    // error
12cb93a386Sopenharmony_cishort cast_short = short(32768.);                       // error
13