@@ -0,0 +1,18 @@
+{ %fail }
+
+{$mode objfpc}
+type
+ TFPMemberVisibility = (
+ visAutomated := 'A',
+ visPublished := 'B',
+ visPrivate := 'I',
+ visProtected := 'O',
+ visPublic := 'U',
+ visDefault := 'd');
+ TFPArray = array[TFPMemberVisibility] of String;
+begin
+end.
@@ -0,0 +1,11 @@
+ dummyrec = record
+ i : int64;
+ end;
+var
+ d: double;
+ d := double(dummyrec($ffffffff80000000));
@@ -0,0 +1,3 @@
+Procedure Bug(B::tBug);
@@ -0,0 +1,8 @@
+ tmethod = procedure (x: byte);
+ tmethod(get_static_method)(0);
@@ -0,0 +1,26 @@
+ global_u8bit : byte;
+ value_u8bit : byte;
+ procedure proc_value_smallarray_const_1_inline(arr : array of const);inline;
+ var
+ i: integer;
+ begin
+ for i:=0 to high(arr) do
+ case arr[i].vtype of
+ vtInteger : global_u8bit := arr[i].vinteger and $ff;
+ else
+ RunError(255);
+ end; {endfor}
+ proc_value_smallarray_const_1_inline([value_u8bit]);
@@ -0,0 +1,19 @@
+ tprocedure = procedure;
+ procedure testprocedure;
+ procedure proc(const buf);
+ p : tprocedure;
+ p:=tprocedure(@buf);
+ proc(testprocedure);
@@ -0,0 +1,7 @@
+{ %ver=1.1 }
+VAR
+ X64 : Qword;
+BEGIN
+ X64:=$123456789A;
+END.
@@ -0,0 +1,17 @@
+{$mode delphi}
+parent = class
+end;
+child = class
+ procedure test;
+procedure child.test;
+inherited;
@@ -0,0 +1 @@
@@ -0,0 +1,5 @@
+ tprocedure = procedure (x: byte);pascal;
+ end.
+Unit tw1931;
+Interface
+Const
+ Space = #32;
+ Tab = #9;
+ Cr = #13;
+ Lf = #10;
+ CrLf = #13#10;
+ Slash = '/';
+ Dash = '-';
+ Comma = ',';
+Implementation
+End {-- UChar --}.