mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-12-16 00:50:40 +01:00
to the parser, so that it only looks at what the programmer wrote rather
than at all statements that the compiler may generate internally
(mantis #11619)
+ several tests for {$x-} mode
* modified tenumerators1 so it compiles without extended syntax enabled
(to check for..in with {$x-})
git-svn-id: trunk@15075 -
10 lines
65 B
ObjectPascal
10 lines
65 B
ObjectPascal
{ %fail }
|
|
{$x-}
|
|
|
|
function f: longint;
|
|
begin
|
|
end;
|
|
|
|
begin
|
|
f;
|
|
end. |