source:
liacs/coco/tests/code-generation/test2.p0@
138
Last change on this file since 138 was 2, checked in by , 15 years ago | |
---|---|
File size: 151 bytes |
Rev | Line | |
---|---|---|
[2] | 1 | program blaah; |
2 | ||
3 | var | |
4 | glob: integer; | |
5 | ||
6 | procedure proc; | |
7 | var loc: integer; | |
8 | begin | |
9 | loc := 23; | |
10 | glob := loc | |
11 | end; | |
12 | ||
13 | begin | |
14 | proc; | |
15 | writeinteger(glob) | |
16 | end. |
Note:
See TracBrowser
for help on using the repository browser.