summaryrefslogtreecommitdiff
path: root/fpcsrc/tests/tbs/tb0318.pp
blob: 2d3b01acf4a2fa6014b98171e0a768e5501be0f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
const
  nl=#10;
type
  cs=set of char;

function p(c:cs):boolean;
begin
  p:=(#10 in c);
end;

begin
  if p([#1..#255]-[nl]) then
   halt(1);
end.