mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-06-21 04:18:19 +02:00
* add check
This commit is contained in:
parent
5a06f334b7
commit
b590b0165e
@ -2,13 +2,21 @@
|
|||||||
{ internal error 10 with highdimension arrays OK 0.99.6 (MVC) }
|
{ internal error 10 with highdimension arrays OK 0.99.6 (MVC) }
|
||||||
|
|
||||||
type TA = Array[1..2,1..2,1..2,1..2,1..2,1..2,1..3,1..3,1..3,1..3] of Byte;
|
type TA = Array[1..2,1..2,1..2,1..2,1..2,1..2,1..3,1..3,1..3,1..3] of Byte;
|
||||||
|
TA2 = Array[1..2,1..2,1..2] of Byte;
|
||||||
|
|
||||||
var v,w: ta;
|
var v,w: ta;
|
||||||
|
x: ta2;
|
||||||
e: longint;
|
e: longint;
|
||||||
|
|
||||||
Begin
|
Begin
|
||||||
e :=1;
|
e :=1;
|
||||||
|
x[e,e,e]:=1;
|
||||||
v[e,e,e,e,e,e,e,e,e,e] :=1;
|
v[e,e,e,e,e,e,e,e,e,e] :=1;
|
||||||
w[e,e,e,e,e,e,v[e,e,e,e,e,e,e,e,e,e],e,e,v[e,e,e,e,e,e,v[e,v[e,e,e,e,e,v[e,e,e,e,e,e,e,e,e,e],e,e,e,e],e,e,e,e,e,e,e,e],e,e,e]] := v [e,e,e,e,e,e,e,e,e,e];
|
w[e,e,e,e,e,e,v[e,e,e,e,e,e,e,e,e,e],e,e,v[e,e,e,e,e,e,v[e,v[e,e,e,e,e,v[e,e,e,e,e,e,e,e,e,e],e,e,e,e],e,e,e,e,e,e,e,e],e,e,e]] := v [e,e,e,e,e,e,e,e,e,e];
|
||||||
writeln(w[e,e,e,e,e,e,e,e,e,e])
|
writeln(w[e,e,e,e,e,e,e,e,e,e]);
|
||||||
|
if w[e,e,e,e,e,e,e,e,e,e]<>1 then
|
||||||
|
begin
|
||||||
|
writeln('Error!');
|
||||||
|
halt(1);
|
||||||
|
end;
|
||||||
end.
|
end.
|
||||||
|
Loading…
Reference in New Issue
Block a user