mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-11 18:49:14 +02:00
*** empty log message ***
This commit is contained in:
parent
47617fd323
commit
2dbe07f533
14
tests/webtbs/tbug881.pp
Normal file
14
tests/webtbs/tbug881.pp
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
PROGRAM TEST;
|
||||||
|
TYPE
|
||||||
|
byteSet = SET OF 0..7;
|
||||||
|
booleanArray = ARRAY[0..HIGH(word) DIV 8] OF byteSet;
|
||||||
|
booleanArrayPointer = ^booleanArray;
|
||||||
|
|
||||||
|
PROCEDURE SetBooleanArray( CONST p : booleanArrayPointer;
|
||||||
|
CONST index : word );
|
||||||
|
BEGIN
|
||||||
|
INCLUDE(p^[index DIV 8],index MOD 8)
|
||||||
|
END;
|
||||||
|
|
||||||
|
BEGIN
|
||||||
|
END.
|
Loading…
Reference in New Issue
Block a user