Parcourir la source

* test for auto derefencing

peter il y a 24 ans
Parent
commit
fc88544de0
1 fichiers modifiés avec 22 ajouts et 0 suppressions
  1. 22 0
      tests/tbs/tb0355.pp

+ 22 - 0
tests/tbs/tb0355.pp

@@ -0,0 +1,22 @@
+{$mode delphi}
+
+const
+  CSV_Internal = 10;
+
+type
+  PTypeRec = ^TTypeRec;
+  TTypeRec = record
+    atypeid: Word;
+  end;
+
+
+function ChangeType(newtype: PTypeRec): Pointer;
+
+begin
+  if NewType.AtypeID = CSV_Internal then
+  begin
+  end;
+end;
+
+begin
+end.