mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-12-16 01:10:40 +01:00
* fixed duplicate field names in variant record parts
git-svn-id: trunk@28822 -
This commit is contained in:
parent
fb18eac0f3
commit
5b39b20a3d
@ -6,7 +6,7 @@ type
|
||||
tr = packed record
|
||||
l: longint;
|
||||
case byte of
|
||||
0: (l: longint);
|
||||
0: (x: longint);
|
||||
1: (e: ta);
|
||||
end;
|
||||
|
||||
|
||||
@ -10,7 +10,7 @@ Type
|
||||
End; { Record }
|
||||
|
||||
TSomeRecord = Packed Record
|
||||
Case A : Cardinal OF
|
||||
Case x : Cardinal OF
|
||||
0 : (A : TSomeRec1);
|
||||
End; { Record }
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user