source: liacs/coco/tests/declarations/redeclaration3.p1@ 130

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