@@ -0,0 +1,12 @@
+{ %FAIL }
+
+var
+ i : longint;
+ j,j2 : word;
+ k : byte;
+begin
+ j:=5;
+ byte(i):=j;
+ longint(j):=12;
+end.
@@ -0,0 +1,10 @@
+{$mode delphi}
+ i : int64;
+ e : extended;
+ e:=int(i);
@@ -0,0 +1,22 @@
+{ %fail }
+type
+ tcl1=class
+ end;
+ tcl2=class(tcl1)
+procedure p1(var p:tcl1);
+end;
+ t : tcl2;
+ t:=tcl2.create;
+ { in delphi the passed argument must match exact }
+ p1(t);
@@ -0,0 +1,14 @@
+{$ifdef fpc}{$mode tp}{$endif}
+ j : word;
+ i:=-1;
+ { this is allowed in tp7 }
+ writeln('i: ',i,' (should be -251)');
+ if i<>-251 then
+ halt(1);