summaryrefslogtreecommitdiff
path: root/fpcsrc/tests/tbs/tb0057.pp
blob: 0f4dd2df82b76605b13cd9b5a1c4113b8e3c0678 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{ Old file: tbs0064.pp }
{  shows other types of problems with case statements   OK 0.99.1 (FK) }

var
 i: byte;
 j: integer;
 c: char;
Begin
  case i of
  Ord('x'): ;
  end;
  case j of
  Ord('x'): ;
  end;
  case c of
  Chr(112): ;
  end;
end.