pascalabcnet/TestSuite/attributes5.pas
Ivan Bondarev 64b4430b85 #2804
2023-02-26 11:10:08 +01:00

17 lines
257 B
ObjectPascal

uses System;
type
[AttributeUsage(AttributeTargets.Field or AttributeTargets.Property) ]
myattr = class (Attribute) end;
TClass = class
[myattr]
a: integer;
[myattr]
property prop: integer read a;
end;
begin
end.