repo.or.cz
/
sdcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
struct / union in initializer, RFE #901.
[sdcc.git]
/
sdcc
/
support
/
regression
/
tests
/
scott-while.c
blob
6f5e1363ec86bf9403f76141b1db30d1f46735b3
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
}