Ver código fonte

* test for fixed bug to play safe

Florian Klämpfl 3 anos atrás
pai
commit
f36a665879
1 arquivos alterados com 17 adições e 0 exclusões
  1. 17 0
      tests/webtbs/tw39464.pp

+ 17 - 0
tests/webtbs/tw39464.pp

@@ -0,0 +1,17 @@
+{ %norun }
+program Test;
+
+{$Mode ObjFPC}
+
+type
+  TTestRec = packed record
+    Empty: packed record end;
+  end;
+
+function GetEmptyPtr(R: TTestRec): Pointer;
+begin
+  Result := @R.Empty;
+end;
+    
+begin
+end.