fpc/tests/test/tclass14a.pp
paul 09fd52791a tests: add fail test for class properties
git-svn-id: trunk@14639 -
2010-01-14 15:04:45 +00:00

19 lines
330 B
ObjectPascal

{ %FAIL}
program tclass14a;
{$ifdef fpc}
{$mode delphi}
{$endif}
type
TSomeClass = class
public
class var
FSomeField: Integer;
// class properties are not for sreaming therefore 'stored' is not supported
class property SomeField: Integer read FSomeField write FSomeField stored False;
end;
begin
end.