Pick three bugfixes from next branch to trunk for inclusion in 4.5.0 RC2, as discusse...
[sdcc.git] / sdcc / support / regression / tests / bug3117721.c
blobf500d5cf52674a292556eb225f44d8f8967845a2
1 /*
2 * bug3117721.c
3 */
5 #include <testfwk.h>
7 /* should not generate:
8 warning 185: comparison of 'signed char' with 'unsigned char' requires promotion to int */
9 char GenerateBug(unsigned char iKey)
11 if (iKey == 'T')
13 return 1;
15 else if (iKey != 't')
17 return 2;
19 return 0;
22 void testBug(void)
24 ASSERT(1);