fpc/tests/webtbs/tw4115.pp
peter 5c3a4516e1 * new test
git-svn-id: trunk@498 -
2005-06-25 21:07:25 +00:00

13 lines
247 B
ObjectPascal

{ Source provided for Free Pascal Bug Report 4115 }
{ Submitted by "Alexey Chernobayev" on 2005-06-25 }
{ e-mail: alexch@caravan.ru }
var
A: array [WideChar] of Char;
W: WideChar;
begin
A['a'] := 'b'; // Ok
W := 'c';
A[W] := 'd';
end.