source: liacs/coco/tests/declarations/redeclaration5.p1@ 342

Last change on this file since 342 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: 280 bytes
Line 
1{ This program is correct wrt the context-free grammar;
2 in the context-sensitive grammar it is incorrect.
3}
4
5program rontest;
6
7var
8 rontest,
9 ray : integer;
10var raytest : real;
11var rontest : real; { declared earlier }
12
13begin
14 ray := 35;
15 ray := 33;
16 rontest := -1.5
17end
18
19.
Note: See TracBrowser for help on using the repository browser.