mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-08 01:08:07 +02:00
19 lines
204 B
ObjectPascal
19 lines
204 B
ObjectPascal
{%FAIL}
|
|
|
|
{ left bound is greater; fails }
|
|
|
|
{$H+}
|
|
var
|
|
my_str: string;
|
|
i: integer;
|
|
|
|
begin
|
|
my_str := 'ababaca';
|
|
i := -1;
|
|
|
|
case my_str of
|
|
'abba'..'ababaca': i := 1;
|
|
else i := 0;
|
|
end;
|
|
end.
|