mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-07 11:08:02 +02:00
* improve test
This commit is contained in:
parent
b179e01b3f
commit
e7cf7538cd
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user