Explorar o código

* test for fixed bug to play safe

Florian Klämpfl %!s(int64=3) %!d(string=hai) anos
pai
achega
f36a665879
Modificáronse 1 ficheiros con 17 adicións e 0 borrados
  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.