summaryrefslogtreecommitdiff
path: root/fpcsrc/tests/tbs/tb0082.pp
blob: 4c636daa12e4a05085d896a42b4eac40cb8d0330 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{ Old file: tbs0095.pp }
{ case with ranges starting with #0 bugss                OK 0.99.1 (FK) }

var
  ch : char;
begin
  ch:=#3;
  case ch of
   #0..#31 : ;
  else
   writeln('bug');
  end;
  case ch of
   #0,#1,#3 : ;
  else
   writeln('bug');
  end;
end.