☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
gm2
/
pim
/
pass
/
whilestep.mod
☽
☼
gcc/testsuite/gm2/pim/pass/whilestep.mod
code
plain
raw
1
MODULE whilestep ;
2
3
FROM libc IMPORT printf ;
4
5
PROCEDURE init ;
6
VAR
7
c: CARDINAL ;
8
BEGIN
9
c := 0 ;
10
WHILE c < 20 DO
11
printf ("iteration %d\n", c) ;
12
INC (c)
13
END
14
END init ;
15
16
BEGIN
17
init
18
END whilestep.