summaryrefslogtreecommitdiff
path: root/fpcsrc/tests/tbs/tb0066.pp
blob: 0308aca880b5ccb1acb7a0aaaed14b758187cc19 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
{ Old file: tbs0073.pp }
{  shows incompatiblity with bp for distance qualifiers OK 0.99.6 (PFV) }

Unit tb0066;

Interface


Procedure MyTest;Far;         { IMPLEMENTATION expected error. }

{ Further information: NEAR IS NOT ALLOWED IN BORLAND PASCAL  }
{ Therefore the bugfix should only be for the FAR keyword.    }
 Procedure MySecondTest;

Implementation

{ near and far are not allowed here, but maybe we don't care since they are ignored by }
{ FPC.                                                                                 }
Procedure MyTest;
Begin
end;



Procedure MySecondTest;Far;
Begin
end;





end.