mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2026-01-06 17:10:50 +01:00
16 lines
185 B
ObjectPascal
16 lines
185 B
ObjectPascal
{ %opt=-Sew }
|
|
|
|
var
|
|
p : pointer;
|
|
b : byte;
|
|
w : word;
|
|
a : array[0..10] of char;
|
|
begin
|
|
b:=1;
|
|
w:=1;
|
|
p:=@a;
|
|
// This should work without warnings
|
|
inc(p,b);
|
|
inc(p,w);
|
|
end.
|