mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-11 23:08:08 +02:00
27 lines
232 B
ObjectPascal
27 lines
232 B
ObjectPascal
{ %FAIL }
|
|
{ %OPT=-Sew -vw }
|
|
|
|
uses ub0149;
|
|
|
|
|
|
|
|
procedure testdef1(b: tdefinition);
|
|
begin
|
|
b:=12;
|
|
end;
|
|
|
|
|
|
type
|
|
tdefinition = 1..10;
|
|
|
|
procedure testdef2(b : tdefinition);
|
|
begin
|
|
b:=10;
|
|
end;
|
|
|
|
|
|
Begin
|
|
testdef1(0);
|
|
testdef2(0);
|
|
end.
|