#include <perms.h>
// Edinburgh IMP77 Compiler - Version 8.4
//
// 1 %begin
int main(int argc, char **argv) { /*%begin*/
_imp_initialise(argc, argv);
// 2 %recordformat low(%integer a, b, c, d)
struct LOW {
union {
struct {
int A;
int B;
int C;
int D;
};
};
};
// 3 %recordformat top(%string(255) f, %string(255) g, %string(255) h, %record (low) e)
struct TOP {
union {
struct {
_imp_string255 F;
_imp_string255 G;
_imp_string255 H;
struct LOW E;
};
};
};
// 4
// 5 %record (top) rec
struct TOP REC;
// 6
// 7 %integer n
int N;
// 8
// 9 rec_e_b = 42
REC.E.B = 42;
// 10
// 11 %endofprogram
_imp_stop(0);
return 0;
end_0:;
}