#include <perms.h>

                                                                //      1  %externalintegerarray link(-10:-1) = 0,1,2,3,4,5,6,7,8,9
#line 1 "regression-bugs-tmp/extarray.imp"
int LINK[10] = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9,  };
                                                                //      2  
                                                                //      3  %begin
#line 3 "regression-bugs-tmp/extarray.imp"
int main(int argc, char **argv) {
  _imp_initialise(argc, argv);
                                                                //      4  
                                                                //      5    %integer i
#line 5 "regression-bugs-tmp/extarray.imp"
int I;
                                                                //      6    %for i = -10, 1, -1 %cycle
#line 6 "regression-bugs-tmp/extarray.imp"
I = (-11);
if (((((-1))-((-10))) % (1)) != 0) _imp_signal(5,1,0,"Illegal cycle I = (-10), 1, (-1)");
L_0002:;
if (I == (-1)) goto L_0003;
I += 1;
                                                                //      7      write(link(i),0); newline
#line 7 "regression-bugs-tmp/extarray.imp"
_imp_WRITE((LINK+10)[I], 0);
#line 7 "regression-bugs-tmp/extarray.imp"
_imp_NEWLINE();
                                                                //      8    %repeat
#line 8 "regression-bugs-tmp/extarray.imp"
goto L_0002;
#line 8 "regression-bugs-tmp/extarray.imp"
L_0003:;
                                                                //      9  
                                                                //     10  %endofprogram
#line 10 "regression-bugs-tmp/extarray.imp"
/* Remove %on %event handler here if present for this block */
return 0;
} // End of block _imp_main at level 1
#line 10 "regression-bugs-tmp/extarray.imp"
// End of file
