fpc/tests/test/tprec24.pp
Jonas Maebe c4bedeb9df * we have to be able to take the address of an "absolute" variable
expression (necessary to, a.o., reject absolute mappings to fields
    of bitpacked records and to bitpacked array elements)

git-svn-id: trunk@12874 -
2009-03-12 20:12:14 +00:00

13 lines
119 B
ObjectPascal

{ %fail }
type
ta = bitpacked record
a, b, c, d: 0..15;
end;
var
c: ta;
d: byte absolute c.a;
begin
end.