mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-27 19:10:14 +02:00
no message
This commit is contained in:
parent
8d251e8506
commit
a6549318c7
10
tests/tbf/tb0170.pp
Normal file
10
tests/tbf/tb0170.pp
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
{ %fail }
|
||||||
|
{$mode objfpc}
|
||||||
|
uses
|
||||||
|
sysutils;
|
||||||
|
|
||||||
|
resourcestring sMyNewErrorMessage = 'Illegal value: %d';
|
||||||
|
|
||||||
|
begin
|
||||||
|
sMyNewErrorMessage:='';
|
||||||
|
end.
|
9
tests/tbs/tb0482.pp
Normal file
9
tests/tbs/tb0482.pp
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
{$mode objfpc}
|
||||||
|
uses
|
||||||
|
sysutils;
|
||||||
|
|
||||||
|
resourcestring sMyNewErrorMessage = 'Illegal value: %d';
|
||||||
|
|
||||||
|
begin
|
||||||
|
raise Exception.CreateResFmt(@sMyNewErrorMessage, [-1]);
|
||||||
|
end.
|
Loading…
Reference in New Issue
Block a user