struct / union in initializer, RFE #901.
[sdcc.git] / sdcc / support / regression / tests / scott-while.c
blob6f5e1363ec86bf9403f76141b1db30d1f46735b3
1 /*
2 */
3 #include <testfwk.h>
5 unsigned int aint0 = 0;
6 unsigned int aint1 = 0;
7 unsigned char achar0 = 0;
8 unsigned char achar1 = 0;
10 void
11 while1 (void)
13 unsigned char i = 10;
17 achar0++;
19 while (--i);
21 ASSERT (!(achar0 != 10));
26 void
27 testWhile (void)
29 while1 ();