tests: add fail test for class properties

git-svn-id: trunk@14639 -
This commit is contained in:
paul 2010-01-14 15:04:45 +00:00
parent 56259a084c
commit 09fd52791a
2 changed files with 19 additions and 0 deletions

1
.gitattributes vendored
View File

@ -8899,6 +8899,7 @@ tests/test/tclass12a.pp svneol=native#text/pascal
tests/test/tclass12b.pp svneol=native#text/pascal
tests/test/tclass12c.pp svneol=native#text/pascal
tests/test/tclass13.pp svneol=native#text/pascal
tests/test/tclass14a.pp svneol=native#text/pascal
tests/test/tclass2.pp svneol=native#text/plain
tests/test/tclass3.pp svneol=native#text/plain
tests/test/tclass4.pp svneol=native#text/plain

18
tests/test/tclass14a.pp Normal file
View File

@ -0,0 +1,18 @@
{ %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.