mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-07 22:47:59 +02:00

whose size is not a power of two + some more packed array/record tests git-svn-id: trunk@7610 -
18 lines
188 B
ObjectPascal
18 lines
188 B
ObjectPascal
{ %fail }
|
|
|
|
type
|
|
trange = 0..$ffffff;
|
|
prange = ^trange;
|
|
tarr = bitpacked array[0..20] of trange;
|
|
|
|
procedure p(a: prange);
|
|
begin
|
|
end;
|
|
|
|
var
|
|
a: tarr;
|
|
begin
|
|
a[0]:=5;
|
|
p(@a[0]);
|
|
end.
|