Browse Source

* test for auto derefencing

peter 24 years ago
parent
commit
fc88544de0
1 changed files with 22 additions and 0 deletions
  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.