/* bug-2585.c int cast issue */ #include #include void testBug (void) { int i; i = SCHAR_MAX; ASSERT ((signed char)(i << (int)1) == -2); }