mirror of
				https://gitlab.com/freepascal.org/fpc/source.git
				synced 2025-11-04 07:43:04 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			16 lines
		
	
	
		
			253 B
		
	
	
	
		
			ObjectPascal
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
		
			253 B
		
	
	
	
		
			ObjectPascal
		
	
	
	
	
	
{ %target=win32 }
 | 
						|
{ %OPT=-Cr- }
 | 
						|
 | 
						|
uses
 | 
						|
  windows;
 | 
						|
 | 
						|
var
 | 
						|
  WindowHandle : HWND;
 | 
						|
 | 
						|
begin
 | 
						|
  WindowHandle:=0;
 | 
						|
  // the next code must compile but with a range check warning
 | 
						|
  SetWindowLong(WindowHandle, GWL_STYLE, WS_POPUP or WS_CLIPCHILDREN);
 | 
						|
  halt(0);
 | 
						|
end.
 |