source: liacs/coco/tests/declarations/redeclaration1.p1@ 155

Last change on this file since 155 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: 307 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, { declared earlier ? }
9 ray : integer;
10var raytest,
11 rontest : real; { definitely declared earlier }
12
13begin
14 ray := 35;
15 ray := 33;
16 rontest := -1.5
17end
18
19
20.
Note: See TracBrowser for help on using the repository browser.