mirror of
				https://gitlab.com/freepascal.org/fpc/source.git
				synced 2025-11-04 02:39:40 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			26 lines
		
	
	
		
			285 B
		
	
	
	
		
			ObjectPascal
		
	
	
	
	
	
			
		
		
	
	
			26 lines
		
	
	
		
			285 B
		
	
	
	
		
			ObjectPascal
		
	
	
	
	
	
program tw18610;
 | 
						|
 | 
						|
{$mode delphi}{$H+}
 | 
						|
 | 
						|
type
 | 
						|
  IInt = interface
 | 
						|
    procedure Test;
 | 
						|
  end;
 | 
						|
 | 
						|
  TParent = class
 | 
						|
  private
 | 
						|
    type
 | 
						|
      TChild = class(TInterfacedObject, IInt)
 | 
						|
      public
 | 
						|
        procedure Test;
 | 
						|
      end;
 | 
						|
  end;
 | 
						|
 | 
						|
procedure TParent.TChild.Test;
 | 
						|
begin
 | 
						|
end;
 | 
						|
 | 
						|
 | 
						|
begin
 | 
						|
end.
 |