source: liacs/coco/tests/calls/too_many_parameters4.p1@ 45

Last change on this file since 45 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: 323 bytes
Line 
1program towel;
2
3var
4 zaphod,
5 breeblebox,
6 adams: integer;
7
8function guide(arthur, ford: integer): integer;
9
10begin
11 guide := arthur + ford
12end;
13
14begin
15 { error
16 guide: integer x integer -> integer
17 call: integer x integer x integer x integer -> integer }
18 zaphod := guide(zaphod, breeblebox, adams, adams)
19end.
Note: See TracBrowser for help on using the repository browser.