mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2026-01-06 15:30:30 +01:00
34 lines
587 B
ObjectPascal
34 lines
587 B
ObjectPascal
{ $mode objfpc}
|
|
const
|
|
WideNull = widechar(#0);
|
|
WideSpace = widechar(#32);
|
|
|
|
var
|
|
w : widechar;
|
|
w2,w3 : widechar;
|
|
begin
|
|
w:=WideSpace;
|
|
w3:=WideSpace;
|
|
w2:=WideNull;
|
|
if not(w in [WideSpace]) then
|
|
begin
|
|
writeln('error 1');
|
|
halt(1);
|
|
end;
|
|
if not(w in [WideNull..WideSpace]) then
|
|
begin
|
|
writeln('error 2');
|
|
halt(1);
|
|
end;
|
|
if not(w in [WideNull..WideSpace,w3]) then
|
|
begin
|
|
writeln('error 3');
|
|
halt(1);
|
|
end;
|
|
if not(w in [WideNull..WideSpace,w2..w3]) then
|
|
begin
|
|
writeln('error 4');
|
|
halt(1);
|
|
end;
|
|
end.
|