blob: 395883ac5526e0ece6e4cc1747b84a948a0d3f4e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
{ Source provided for Free Pascal Bug Report 3212 }
{ Submitted by "Marc Weustink" on 2004-07-15 }
{ e-mail: marc@freepascal.org }
program conststring;
{$mode objfpc}
{$H+}
const
C1: String = 'bla';
procedure X;
const
C: String = 'bla';
begin
C:='bla';
C:='bla'+C;
WriteLN('"',C,'"');
if C<>'blabla' then
halt(1);
end;
begin
X;
X;
end.
|