mirror of
				https://gitlab.com/freepascal.org/fpc/source.git
				synced 2025-11-04 04:39:28 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			32 lines
		
	
	
		
			558 B
		
	
	
	
		
			ObjectPascal
		
	
	
	
	
	
			
		
		
	
	
			32 lines
		
	
	
		
			558 B
		
	
	
	
		
			ObjectPascal
		
	
	
	
	
	
Unit tbs0075;
 | 
						|
 | 
						|
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;Forward;
 | 
						|
 | 
						|
 | 
						|
Procedure MySecondTest;Far;
 | 
						|
Begin
 | 
						|
end;
 | 
						|
 | 
						|
 | 
						|
 | 
						|
 | 
						|
 | 
						|
end.
 |