mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-20 10:45:08 +02:00
Merged revisions 35 via svnmerge from
/trunk git-svn-id: branches/fixes_2_0@36 -
This commit is contained in:
parent
65e2594da4
commit
0e8c2c83fa
2
.gitattributes
vendored
2
.gitattributes
vendored
@ -6128,6 +6128,8 @@ tests/webtbs/tw3893.pp svneol=native#text/plain
|
||||
tests/webtbs/tw3898.pp svneol=native#text/plain
|
||||
tests/webtbs/tw3899.pp svneol=native#text/plain
|
||||
tests/webtbs/tw3900.pp svneol=native#text/plain
|
||||
tests/webtbs/tw3953a.pp svneol=native#text/plain
|
||||
tests/webtbs/tw3953b.pp svneol=native#text/plain
|
||||
tests/webtbs/tw3973.pp svneol=native#text/plain
|
||||
tests/webtbs/tw3977.pp svneol=native#text/plain
|
||||
tests/webtbs/tw3977.txt svneol=native#text/plain
|
||||
|
18
tests/webtbs/tw3953a.pp
Normal file
18
tests/webtbs/tw3953a.pp
Normal file
@ -0,0 +1,18 @@
|
||||
{ Source provided for Free Pascal Bug Report 3953 }
|
||||
{ Submitted by "Jesus Reyes A." on 2005-05-08 }
|
||||
{ e-mail: jesusrmx@yahoo.com.mx }
|
||||
program CompareBooleanVars;
|
||||
uses variants;
|
||||
var
|
||||
A,B: Variant;
|
||||
begin
|
||||
A := True;
|
||||
B := True;
|
||||
if A=B then
|
||||
WriteLn('A and B are equal')
|
||||
else
|
||||
begin
|
||||
WriteLn('A and B are NOT equal');
|
||||
halt(1);
|
||||
end;
|
||||
end.
|
18
tests/webtbs/tw3953b.pp
Normal file
18
tests/webtbs/tw3953b.pp
Normal file
@ -0,0 +1,18 @@
|
||||
{ Source provided for Free Pascal Bug Report 3953 }
|
||||
{ Submitted by "Jesus Reyes A." on 2005-05-08 }
|
||||
{ e-mail: jesusrmx@yahoo.com.mx }
|
||||
program CompareNULLVars;
|
||||
uses variants;
|
||||
var
|
||||
A,B: Variant;
|
||||
begin
|
||||
A := NULL;
|
||||
B := NULL;
|
||||
if A=B then
|
||||
WriteLn('A and B are equal')
|
||||
else
|
||||
begin
|
||||
WriteLn('A and B are NOT equal');
|
||||
halt(1);
|
||||
end;
|
||||
end.
|
Loading…
Reference in New Issue
Block a user