mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-15 18:49:16 +02:00
+ test for last commit
git-svn-id: trunk@8866 -
This commit is contained in:
parent
c62d72f98c
commit
cc5e29fe01
1
.gitattributes
vendored
1
.gitattributes
vendored
@ -8481,6 +8481,7 @@ tests/webtbs/tw9385.pp svneol=native#text/plain
|
|||||||
tests/webtbs/tw9419.pp svneol=native#text/plain
|
tests/webtbs/tw9419.pp svneol=native#text/plain
|
||||||
tests/webtbs/tw9461.pp svneol=native#text/plain
|
tests/webtbs/tw9461.pp svneol=native#text/plain
|
||||||
tests/webtbs/tw9509.pp svneol=native#text/plain
|
tests/webtbs/tw9509.pp svneol=native#text/plain
|
||||||
|
tests/webtbs/tw9601.pp svneol=native#text/plain
|
||||||
tests/webtbs/tw9667.pp svneol=native#text/plain
|
tests/webtbs/tw9667.pp svneol=native#text/plain
|
||||||
tests/webtbs/tw9672.pp svneol=native#text/plain
|
tests/webtbs/tw9672.pp svneol=native#text/plain
|
||||||
tests/webtbs/tw9673.pp -text
|
tests/webtbs/tw9673.pp -text
|
||||||
|
24
tests/webtbs/tw9601.pp
Normal file
24
tests/webtbs/tw9601.pp
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
{$mode objfpc}
|
||||||
|
uses
|
||||||
|
sysutils,typinfo;
|
||||||
|
{$M+}
|
||||||
|
|
||||||
|
type
|
||||||
|
TMyClass = class(TObject)
|
||||||
|
private
|
||||||
|
FValue: Currency;
|
||||||
|
published
|
||||||
|
property Value:Currency read FValue write FValue;
|
||||||
|
end;
|
||||||
|
|
||||||
|
var
|
||||||
|
MyClass :TMyClass;
|
||||||
|
begin
|
||||||
|
MyClass := TMyClass.Create;
|
||||||
|
SetFloatProp(MyClass, 'Value', 1);
|
||||||
|
if MyClass.Value<>1 then
|
||||||
|
halt(1);
|
||||||
|
WriteLn(CurrToStr(MyClass.Value));
|
||||||
|
MyClass.Free;
|
||||||
|
writeln('ok');
|
||||||
|
end.
|
Loading…
Reference in New Issue
Block a user