summaryrefslogtreecommitdiff
path: root/fpcsrc/tests/test/tenum2.pp
blob: 10327f7efc8ecfc87adaa156eb573e819f6470c3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
{ %fail }

uses
  uenum2a;

var
  e: tenum;
begin
  e := tone;
  inc(e);
  writeln(byte(e));
end.