fpc/tests/webtbs/tw23744.pp
2013-01-26 19:27:17 +00:00

16 lines
275 B
ObjectPascal

var
S:String[16];
C:Char = '?';
inss: string = 'abc';
begin
S:='DefineTestString';
Insert(C,S,20);
if (length(s)>16) or
(s<>'DefineTestString') then
halt(1);
insert(inss,s,20);
if (length(s)>16) or
(s<>'DefineTestString') then
halt(2);
end.