mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-15 14:39:26 +02:00
17 lines
246 B
ObjectPascal
17 lines
246 B
ObjectPascal
{%skiptarget=$nothread }
|
|
{ %fail }
|
|
{ %version=1.1 }
|
|
|
|
{$ifdef fpc}
|
|
{$mode objfpc}
|
|
{$threading on}
|
|
{$endif}
|
|
|
|
threadvar
|
|
thri : longint;
|
|
|
|
begin
|
|
{ Delphi does not allow threadvars as for loop control variable }
|
|
for thri:=1 to 1000 do;
|
|
end.
|