mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-20 19:29:26 +02:00
27 lines
311 B
ObjectPascal
27 lines
311 B
ObjectPascal
{ %fail }
|
|
program tcustomattr21;
|
|
|
|
{$mode objfpc}{$H+}
|
|
{$modeswitch prefixedattributes}
|
|
|
|
type
|
|
|
|
{ tmyt }
|
|
|
|
tmyt = class
|
|
constructor create;
|
|
end;
|
|
|
|
{ ensure that arguments are skipped correctly }
|
|
[tmyt('Alpha', 42)]
|
|
TMyObject = class(TObject)
|
|
end;
|
|
|
|
constructor tmyt.create;
|
|
begin
|
|
end;
|
|
|
|
begin
|
|
end.
|
|
|