mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-12-25 01:44:40 +01:00
using less than 8 bits per element the same as regular char arrays as far
as automatic type conversions are concerned (they have to be explicitly
packed/unpacked) (mantis #24013)
git-svn-id: trunk@23739 -
10 lines
143 B
ObjectPascal
10 lines
143 B
ObjectPascal
{ %fail }
|
|
|
|
var
|
|
astr: bitpacked array[1..5] of #0..#127;
|
|
|
|
begin
|
|
writeln('Assigning a literal string to astr:');
|
|
astr := 'aaaaa';
|
|
end.
|