#include <perms.h>

                                                                //      1  ! convert with ./i2c -v -d -O --no-perms --icode test/1Darray.imp
                                                                //      2  %begin
#line 2 "regression-bugs-tmp/1Darray.imp"
int main(int argc, char **argv) {
  _imp_initialise(argc, argv);
                                                                //      3    %ownintegerarray oned(0:1)
#line 3 "regression-bugs-tmp/1Darray.imp"
static int ONED[2];
                                                                //      4    %integer i
#line 4 "regression-bugs-tmp/1Darray.imp"
int I;
                                                                //      5  
                                                                //      6    %integer x
#line 6 "regression-bugs-tmp/1Darray.imp"
int X;
                                                                //      7  
                                                                //      8    x = oned(I)
#line 8 "regression-bugs-tmp/1Darray.imp"
X = ONED[I];
                                                                //      9  
                                                                //     10  %endofprogram
#line 10 "regression-bugs-tmp/1Darray.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/1Darray.imp"
// End of file
