Hackfix and re-enable strtoull and wcstoull, see bug #3798.
[sdcc.git] / sdcc / support / valdiag / tests / bug-895992.c
blob24bf327dc149b7495e725521ca845a012fa0bc76
2 /* bug-895992.c
4 Life Range problem with
5 - uninitialized variable
6 - loop
7 - conditional block
8 */
10 #ifdef TEST1
11 char p0;
13 void wait (void);
15 void foo(void)
17 unsigned char number;
18 unsigned char start = 1;
19 unsigned char i;
23 for (i = 1; i > 0 ; i--)
24 wait();
25 if (start)
27 number = p0;
28 start = 0;
30 number--; /* WARNING(SDCC) */
32 while (number != 0);
34 #endif