mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-22 00:09:25 +02:00

* fix for Mantis #36121: define FPC_ISO and FPC_EXTENDEDPASCAL for modes ISO and EXTENDEDPASCAL respectively ........ + add tests to check for correct definition of the FPC_* mode defines ........ * according to ISO 10206 (Extended Pascal) 6.9.3.5 the "otherwise"-clause is supported for case-statements + added test ........ git-svn-id: branches/fixes_3_2@47594 -
13 lines
113 B
ObjectPascal
13 lines
113 B
ObjectPascal
{ %NORUN }
|
|
|
|
program tcase50;
|
|
|
|
{$mode ExtendedPascal}
|
|
|
|
begin
|
|
case 5 of
|
|
1, 2, 3: ;
|
|
otherwise
|
|
end;
|
|
end.
|