2
0
peter 21 жил өмнө
parent
commit
735a5ca27c

+ 11 - 0
tests/tbf/tb0169.pp

@@ -0,0 +1,11 @@
+{ %fail }
+
+var
+   l : longint;
+   s : single;
+
+begin
+   { THis should fail with an invalid type cast }
+   l:=longint(single(s+1))+12;
+end.
+