#include <perms.h>

//          Edinburgh IMP77 Compiler - Version 8.4
//
//     1  %begin

int main(int argc, char **argv) { /*%begin*/
  _imp_initialise(argc, argv);

  //     2    %integer I

  int I;

  //     3    %real R

  float R;

  //     4    %recordformat test record(%integer int a, %real real b)

  struct TESTRECORD {
    union {
      struct {
        int INTA;
        float REALB;
      };
    };
  };

  //     5    %record (test record) actual

  struct TESTRECORD ACTUAL;

  //     6
  //     7    I = actual_int a

  I = ACTUAL.INTA;

  //     8    R = actual_real b

  R = ACTUAL.REALB;

  //     9
  //    10  %endofprogram

  _imp_stop(0);
  return 0;
end_0:;
}