* another old test added

git-svn-id: trunk@5161 -
This commit is contained in:
florian 2006-11-01 21:02:12 +00:00
parent b95ffda72a
commit 409ee19a83
2 changed files with 11 additions and 0 deletions

1
.gitattributes vendored
View File

@ -6319,6 +6319,7 @@ tests/test/tclass6.pp svneol=native#text/plain
tests/test/tclass7.pp svneol=native#text/plain
tests/test/tclass8.pp svneol=native#text/plain
tests/test/tclrprop.pp svneol=native#text/plain
tests/test/tendian1.pp svneol=native#text/plain
tests/test/tenum1.pp svneol=native#text/plain
tests/test/testcmem.pp svneol=native#text/plain
tests/test/testda1.pp svneol=native#text/plain

10
tests/test/tendian1.pp Normal file
View File

@ -0,0 +1,10 @@
var
l : dword;
begin
l:=$deadbeef;
if SwapEndian(l)=l then
halt(1);
if SwapEndian(SwapEndian(l))<>l then
halt(1);
writeln('ok');
end.