#include <perms.h>

                                                                //      1  %recordformat fm(%integer i, %record (fm) %name next)
#line 1 "regression-bugs-tmp/broken2.imp"
typedef struct FM FM;
struct FM {
  int I;
   FM /*name*/*NEXT;
};
                                                                //      2  %externalrecord (fm) %array xra1(0:10)
#line 2 "regression-bugs-tmp/broken2.imp"
 FM XRA1[11];
                                                                //      3  %externalrecord (fm) %arrayname xran1
#line 3 "regression-bugs-tmp/broken2.imp"
 FM /*arrayname*/*XRAN1;
                                                                //      4  
                                                                //      5  %externallongrealarray xlra1(0:10)
#line 5 "regression-bugs-tmp/broken2.imp"
double XLRA1[11];
                                                                //      6  %externallongrealarrayname xlran1
#line 6 "regression-bugs-tmp/broken2.imp"
double /*arrayname*/*XLRAN1;
                                                                //      7  
                                                                //      8  %externalintegernamearray xina1(0:10)
#line 8 "regression-bugs-tmp/broken2.imp"
int /*name*/*XINA1[11];
                                                                //      9  %externalintegernamearrayname xinan1
#line 9 "regression-bugs-tmp/broken2.imp"
int /*name*/*/*arrayname*/*XINAN1;
                                                                //     10  
                                                                //     11  %begin
#line 11 "regression-bugs-tmp/broken2.imp"
int main(int argc, char **argv) {
  _imp_initialise(argc, argv);
                                                                //     12    %record (fm) %namearray rna(0:10)
#line 12 "regression-bugs-tmp/broken2.imp"
 FM /*name*/*RNA[11];
                                                                //     13    %record (fm) %namearrayname rnan
#line 13 "regression-bugs-tmp/broken2.imp"
 FM /*name*/*/*arrayname*/*RNAN;
                                                                //     14    %record (fm) %name recn
#line 14 "regression-bugs-tmp/broken2.imp"
 FM /*name*/*RECN;
                                                                //     15    %record (fm) rec
#line 15 "regression-bugs-tmp/broken2.imp"
 FM REC;
                                                                //     16    %integer x, i
#line 16 "regression-bugs-tmp/broken2.imp"
int X;
#line 16 "regression-bugs-tmp/broken2.imp"
int I;
                                                                //     17  
                                                                //     18    xlran1 == xlra1
#line 18 "regression-bugs-tmp/broken2.imp"
XLRAN1 = &XLRA1[0];                                                                //     19    xinan1 == xina1
#line 19 "regression-bugs-tmp/broken2.imp"
XINAN1 = XINA1;
                                                                //     20  
                                                                //     21    xran1 == xra1
#line 21 "regression-bugs-tmp/broken2.imp"
XRAN1 = &XRA1[0];                                                                //     22    
                                                                //     23    recn == rna(i)
#line 23 "regression-bugs-tmp/broken2.imp"
RECN = RNA[I];
                                                                //     24    recn == rna(i)_next
#line 24 "regression-bugs-tmp/broken2.imp"
RECN = RNA[I]->NEXT;
                                                                //     25    recn == rna(i)_next_next
#line 25 "regression-bugs-tmp/broken2.imp"
RECN = RNA[I]->NEXT->NEXT;
                                                                //     26    
                                                                //     27    rec = rna(i)
#line 27 "regression-bugs-tmp/broken2.imp"
REC = *RNA[I];
                                                                //     28    rec = rna(i)_next
#line 28 "regression-bugs-tmp/broken2.imp"
REC = *RNA[I]->NEXT;
                                                                //     29    rec = rna(i)_next_next
#line 29 "regression-bugs-tmp/broken2.imp"
REC = *RNA[I]->NEXT->NEXT;
                                                                //     30    
                                                                //     31    x = rna(i)_i
#line 31 "regression-bugs-tmp/broken2.imp"
X = RNA[I]->I;
                                                                //     32    x = rna(i)_next_i
#line 32 "regression-bugs-tmp/broken2.imp"
X = RNA[I]->NEXT->I;
                                                                //     33    x = rna(i)_next_next_i
#line 33 "regression-bugs-tmp/broken2.imp"
X = RNA[I]->NEXT->NEXT->I;
                                                                //     34    
                                                                //     35    rnan == rna
#line 35 "regression-bugs-tmp/broken2.imp"
RNAN = RNA;
                                                                //     36    
                                                                //     37  %endofprogram
#line 37 "regression-bugs-tmp/broken2.imp"
/* Remove %on %event handler here if present for this block */
return 0;
} // End of block _imp_main at level 1
#line 37 "regression-bugs-tmp/broken2.imp"
// End of file
