fpc/tests/webtbs/tw7372.pp
Jonas Maebe 758a1ab5b0 * allow taking the address of packed array elements if the element size
is a multiple of 8 bits

git-svn-id: trunk@4576 -
2006-09-09 07:49:43 +00:00

8 lines
158 B
ObjectPascal

{$mode macpas}
program test;
var r: record field: packed array [0..1] of byte; b: byte; end;
procedure p(a: pointer); begin end;
begin p(@r.field[0]);
end.