mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-05 08:58:31 +02:00
16 lines
229 B
ObjectPascal
16 lines
229 B
ObjectPascal
{%skiptarget=$nothread }
|
|
{ %fail }
|
|
|
|
{$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.
|