source: liacs/coco/tests/code-generation/tempnames.p0@ 176

Last change on this file since 176 was 2, checked in by Rick van der Zwet, 15 years ago

Initial import of data of old repository ('data') worth keeping (e.g. tracking
means of URL access statistics)

File size: 230 bytes
RevLine 
[2]1program tempnamesmess;
2
3function temp(i: integer): integer;
4
5var temp1, t1, tmp1, t: integer;
6begin
7 temp1 := 42;
8 t1 := temp1 + temp1;
9 tmp1 := t1 div i;
10 writeinteger(t);
11 temp := t
12end;
13
14begin
15 writeinteger(temp(2))
16end.
Note: See TracBrowser for help on using the repository browser.