mirror of
				https://gitlab.com/freepascal.org/fpc/source.git
				synced 2025-11-04 06:59:33 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			13 lines
		
	
	
		
			215 B
		
	
	
	
		
			ObjectPascal
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			215 B
		
	
	
	
		
			ObjectPascal
		
	
	
	
	
	
{$mode objfpc}
 | 
						|
 | 
						|
procedure Test(ParArr :array of const);
 | 
						|
begin
 | 
						|
   writeln(ParArr[0].vtype,' ',vtObject,' ',vtclass);
 | 
						|
   if ParArr[0].vtype<>vtObject then
 | 
						|
    halt(1);
 | 
						|
end;
 | 
						|
 | 
						|
begin
 | 
						|
        Test([TObject.Create]);
 | 
						|
end.
 |