mirror of
				https://gitlab.com/freepascal.org/fpc/source.git
				synced 2025-11-04 07:59:34 +01:00 
			
		
		
		
	initialization code of units/programs, because they are already
    zero and initializing them explicitly is Delphi-incompatible
    (mantis #13345)
git-svn-id: trunk@13042 -
		
	
			
		
			
				
	
	
		
			19 lines
		
	
	
		
			290 B
		
	
	
	
		
			ObjectPascal
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
		
			290 B
		
	
	
	
		
			ObjectPascal
		
	
	
	
	
	
unit uw13345b;
 | 
						|
 {$mode DELPHI}
 | 
						|
interface
 | 
						|
uses uw13345c;
 | 
						|
implementation
 | 
						|
  type
 | 
						|
    TTestIntf=class(TInterfacedObject,ITestIF)
 | 
						|
      procedure Test;
 | 
						|
    end;
 | 
						|
 | 
						|
  procedure TTestIntf.Test;
 | 
						|
  begin
 | 
						|
    writeln('OK');
 | 
						|
  end;
 | 
						|
initialization
 | 
						|
 GTEST:=TTestIntf.Create;
 | 
						|
 writeln('ASSIGNED IF');
 | 
						|
end.
 |