/* * bug3117721.c */ #include /* should not generate: warning 185: comparison of 'signed char' with 'unsigned char' requires promotion to int */ char GenerateBug(unsigned char iKey) { if (iKey == 'T') { return 1; } else if (iKey != 't') { return 2; } return 0; } void testBug(void) { ASSERT(1); }