mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-12 00:08:17 +02:00
16 lines
220 B
ObjectPascal
16 lines
220 B
ObjectPascal
|
|
type SomeType = ( SomeElem );
|
|
|
|
const ElemSet = [ SomeElem ];
|
|
|
|
var
|
|
b : boolean;
|
|
begin
|
|
b:=(SomeElem in ElemSet);
|
|
writeln(b);
|
|
b:=(SomeElem in (ElemSet + []));
|
|
writeln(b);
|
|
if not b then
|
|
halt(1);
|
|
end.
|