mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-21 06:29:33 +02:00
* fix compare with null
git-svn-id: trunk@2310 -
This commit is contained in:
parent
abc49206fc
commit
3207ce77e1
1
.gitattributes
vendored
1
.gitattributes
vendored
@ -6679,6 +6679,7 @@ tests/webtbs/tw4635.pp svneol=native#text/plain
|
|||||||
tests/webtbs/tw4640.pp svneol=native#text/plain
|
tests/webtbs/tw4640.pp svneol=native#text/plain
|
||||||
tests/webtbs/tw4669.pp svneol=native#text/plain
|
tests/webtbs/tw4669.pp svneol=native#text/plain
|
||||||
tests/webtbs/tw4675.pp svneol=native#text/plain
|
tests/webtbs/tw4675.pp svneol=native#text/plain
|
||||||
|
tests/webtbs/tw4700.pp svneol=native#text/plain
|
||||||
tests/webtbs/ub1873.pp svneol=native#text/plain
|
tests/webtbs/ub1873.pp svneol=native#text/plain
|
||||||
tests/webtbs/ub1883.pp svneol=native#text/plain
|
tests/webtbs/ub1883.pp svneol=native#text/plain
|
||||||
tests/webtbs/uw0555.pp svneol=native#text/plain
|
tests/webtbs/uw0555.pp svneol=native#text/plain
|
||||||
|
12
tests/webtbs/tw4700.pp
Executable file
12
tests/webtbs/tw4700.pp
Executable file
@ -0,0 +1,12 @@
|
|||||||
|
var
|
||||||
|
a: Boolean;
|
||||||
|
b,c,d : Variant;
|
||||||
|
e : Integer;
|
||||||
|
begin
|
||||||
|
b := 'abc';
|
||||||
|
c := null;
|
||||||
|
a := b = c;
|
||||||
|
a := b <> c;
|
||||||
|
d := e - c;
|
||||||
|
d := e + c;
|
||||||
|
end.
|
Loading…
Reference in New Issue
Block a user