소스 검색

* let it crash under all platforms

peter 22 년 전
부모
커밋
ea5771fd28
1개의 변경된 파일7개의 추가작업 그리고 2개의 파일을 삭제
  1. 7 2
      tests/webtbs/tw1103.pp

+ 7 - 2
tests/webtbs/tw1103.pp

@@ -1,4 +1,4 @@
-{$MODE OBJFPC }
+{$ifdef fpc}{$MODE OBJFPC }{$endif}
 type
   TestRec = record
     fString  : AnsiString;
@@ -9,7 +9,7 @@ type
 
 function GetGroupInfo: TestRec;
 begin
-  fillchar(Result, Sizeof(Result), 0);
+//  fillchar(Result, Sizeof(Result), 0);
   Result.fRetAddr := 0;
 end;
 
@@ -18,6 +18,11 @@ begin
   Result := GetGroupInfo;
 end;
 
+procedure p;
 begin
   SelectGroup;
+end;
+
+begin
+  p;
 end.