fpc/tests/webtbf/tw16022.pp
Jonas Maebe 6db635210a * don't give an internalerror when passing a constant string to an
openstring parameter (mantis #16022)

git-svn-id: trunk@15030 -
2010-03-21 14:51:12 +00:00

18 lines
223 B
ObjectPascal

{ %fail }
PROGRAM test;
{$mode objfpc}
var a,b: string;
begin
a:= 'Test A';
b:= 'B Test';
system.insert(a,'ing',5);
system.insert('H World','allo',2);
system.insert('&B',b,2);
writeln(a);
writeln(b);
end.