blob: e8073e921d54ebd212edb6995e72196135d10f83 (
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
27
|
{ %OPT=-OG2p3}
procedure t;
var
a: array[1..10,1..10] of string[31];
i, j: longint;
c: char;
begin
i := 5;
j := 7;
a[i,j] := '123456789';
c := '0';
{ clear the optimizer state }
asm
end;
a[i,j] := a[i,j] + c;
if a[i,j] <> '1234567890' then
begin
writeln('error!');
halt(1)
end;
end;
begin
t;
end.
|