* improve test

This commit is contained in:
florian 2024-10-09 22:41:31 +02:00
parent b179e01b3f
commit e7cf7538cd

View File

@ -1,10 +1,12 @@
{ %norun }
var
b: boolean;
w: word;
begin
w := $2;
b := (w shr 1) <> 0;
w := w shl 1; // project1.lpr(7,3) Error: Asm: 16 or 32 bit references not supported
if b then w := w xor 1;
if w<>5 then
halt(1);
end.