mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-08 16:08:09 +02:00

Note: this also means that TCustomAttribute itself can not be used as an attribute * adjusted existing tests + added test git-svn-id: trunk@42471 -
23 lines
233 B
ObjectPascal
23 lines
233 B
ObjectPascal
{ %FAIL }
|
|
|
|
program tcustomattr17;
|
|
|
|
{$mode objfpc}
|
|
{$modeswitch prefixedattributes}
|
|
|
|
type
|
|
TTest = class(TCustomAttribute)
|
|
constructor Create;
|
|
end;
|
|
|
|
[TTest]
|
|
Int = Integer;
|
|
|
|
constructor TTest.Create;
|
|
begin
|
|
|
|
end;
|
|
|
|
begin
|
|
end.
|