mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-09 13:32:06 +02:00

- fix for-in loop for string const array - add some test from Alexander S. Klenin (issue #0014990) git-svn-id: trunk@14041 -
8 lines
105 B
ObjectPascal
8 lines
105 B
ObjectPascal
{mode objfpc}
|
|
{$apptype console}
|
|
const S = 'abc';
|
|
var ch: Char;
|
|
begin
|
|
for ch in S do Writeln(ch);
|
|
end.
|