fpc/tests/webtbf/tw22941.pp
Jonas Maebe 5ea03973d3 * reject assignments to vecn[rangen] (mantis #22941)
git-svn-id: trunk@22434 -
2012-09-21 22:42:30 +00:00

14 lines
97 B
ObjectPascal

{ %fail }
program test;
{$mode objfpc}
{$h+}
var
s: string;
begin
s[1..3] := '123';
end.