Last change
on this file since 166 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:
283 bytes
|
Rev | Line | |
---|
[2] | 1 | { This program is correct wrt the CF grammar }
|
---|
| 2 |
|
---|
| 3 | program yetanothertest;
|
---|
| 4 |
|
---|
| 5 | var
|
---|
| 6 | a: real;
|
---|
| 7 |
|
---|
| 8 | procedure foo(c,b: integer);
|
---|
| 9 | var
|
---|
| 10 | b: real; { b is already declared as a parameter }
|
---|
| 11 | var
|
---|
| 12 | c: integer; { c is already declared as a parameter }
|
---|
| 13 | begin
|
---|
| 14 | writeinteger(b)
|
---|
| 15 | end;
|
---|
| 16 |
|
---|
| 17 | begin
|
---|
| 18 | a := 0
|
---|
| 19 | end.
|
---|
Note:
See
TracBrowser
for help on using the repository browser.