source: liacs/coco/tests/declarations/builtins1.p1@ 377

Last change on this file since 377 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: 236 bytes
Line 
1{ This program is correct wrt the context-free grammar;
2 however, it should reject the variable name 'readreal'.
3}
4
5program builtins;
6
7var
8 r,i : integer;
9var
10 readreal : real;
11
12begin
13 r := 42;
14 i := 21;
15 readreal := -1.5
16end
17
18
19.
Note: See TracBrowser for help on using the repository browser.