mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-10 07:08:56 +02:00
Add test for bug report 7210
git-svn-id: trunk@18153 -
This commit is contained in:
parent
f22ec8545f
commit
2b54f5f961
1
.gitattributes
vendored
1
.gitattributes
vendored
@ -12302,6 +12302,7 @@ tests/webtbs/tw7173.pp svneol=native#text/plain
|
||||
tests/webtbs/tw7179.pp svneol=native#text/plain
|
||||
tests/webtbs/tw7195.pp svneol=native#text/plain
|
||||
tests/webtbs/tw7200.pp svneol=native#text/plain
|
||||
tests/webtbs/tw7210.pp svneol=native#text/plain
|
||||
tests/webtbs/tw7227.pp svneol=native#text/plain
|
||||
tests/webtbs/tw7242.pp svneol=native#text/plain
|
||||
tests/webtbs/tw7262.pp svneol=native#text/plain
|
||||
|
18
tests/webtbs/tw7210.pp
Normal file
18
tests/webtbs/tw7210.pp
Normal file
@ -0,0 +1,18 @@
|
||||
{%TARGET=go32v2 }
|
||||
{ %NOTE=This test requires a go32v2 NASM assembler }
|
||||
{ %OPT=-Anasmcoff }
|
||||
|
||||
{ Check mantis bug report 2710 }
|
||||
|
||||
program worldcrash;
|
||||
var
|
||||
test : string;
|
||||
begin
|
||||
writeln('Hello, world!');
|
||||
test:='Hello, world!';
|
||||
if (test[1]<>'H') or (test[length(test)]<>'!') then
|
||||
begin
|
||||
writeln('Error within tw7210.pp test');
|
||||
halt(1);
|
||||
end;
|
||||
end.
|
Loading…
Reference in New Issue
Block a user