mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-06-01 20:42:42 +02:00
* Change test to test resourcestring correctness.
git-svn-id: trunk@5645 -
This commit is contained in:
parent
d5cf9af69f
commit
787ed7e230
@ -1,8 +1,17 @@
|
||||
{$mode fpc}
|
||||
|
||||
{ Resourcestrings are pre-initialized }
|
||||
resourcestring
|
||||
s = 'OK';
|
||||
|
||||
var t:ansistring;
|
||||
|
||||
begin
|
||||
writeln(s);
|
||||
t:=s;
|
||||
if t<>'OK' then
|
||||
begin
|
||||
writeln('Resourcestring error!');
|
||||
halt(1);
|
||||
end
|
||||
else
|
||||
writeln(s);
|
||||
end.
|
||||
|
Loading…
Reference in New Issue
Block a user