mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-06 23:28:28 +02:00
22 lines
203 B
ObjectPascal
22 lines
203 B
ObjectPascal
program tw23204;
|
|
|
|
{$mode Delphi}{$H+}
|
|
|
|
uses
|
|
uw23204;
|
|
|
|
var
|
|
cur_p: TP;
|
|
|
|
function DropP:TPs;
|
|
begin
|
|
result := [cur_p.AType];
|
|
end;
|
|
|
|
|
|
begin
|
|
cur_p.AType:=pt_1;
|
|
if DropP<>[pt_1] then
|
|
halt(1);
|
|
end.
|