projects
/
fw
/
sdcc
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Added
[fw/sdcc]
/
support
/
regression
/
tests
/
scott-while.c
1
/*
2
*/
3
#include <testfwk.h>
4
5
unsigned int aint0 = 0;
6
unsigned int aint1 = 0;
7
unsigned char achar0 = 0;
8
unsigned char achar1 = 0;
9
10
void
11
while1 (void)
12
{
13
unsigned char i = 10;
14
15
do
16
{
17
achar0++;
18
}
19
while (--i);
20
21
ASSERT (!(achar0 != 10));
22
23
}
24
25
26
void
27
testWhile (void)
28
{
29
while1 ();
30
}