mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-17 08:59: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 -
26 lines
392 B
ObjectPascal
26 lines
392 B
ObjectPascal
program tb0659f;
|
|
|
|
{$mode iso}
|
|
|
|
{$ifdef FPC_TP}
|
|
{$fatal FPC_TP defined}
|
|
{$endif}
|
|
{$ifdef FPC_OBJFPC}
|
|
{$fatal FPC_OBJFPC defined}
|
|
{$endif}
|
|
{$ifdef FPC_DELPHI}
|
|
{$fatal FPC_DELPHI defined}
|
|
{$endif}
|
|
{$ifdef FPC_MACPAS}
|
|
{$fatal FPC_MACPAS defined}
|
|
{$endif}
|
|
{$ifndef FPC_ISO}
|
|
{$fatal FPC_ISO not defined}
|
|
{$endif}
|
|
{$ifdef FPC_EXTENDEDPASCAL}
|
|
{$fatal FPC_EXTENDEDPASCAL defined}
|
|
{$endif}
|
|
|
|
begin
|
|
end.
|