tests: fixed SetWindowLong test

git-svn-id: trunk@14477 -
This commit is contained in:
paul 2009-12-25 11:42:06 +00:00
parent 1bbd116730
commit e9770b180a

View File

@ -1,5 +1,4 @@
{ %target=win32 }
{ %OPT=-Sew -vw }
uses
windows;
@ -9,6 +8,7 @@ var
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.