fpc/tests/webtbf/tw40896.pp

11 lines
140 B
ObjectPascal

{ %fail }
{$mode extendedpascal}
type
fruits = (apple, banana, citrus);
var
a:fruits;
begin
Writeln(pred(high(a)));
ReadLn;
end.