#include <perms.h>

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

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

  //     2  %recordformat  bfm(%record(bfm)%name  link, %integer  block)

  struct BFM {
    union {
      struct {
        struct BFM *LINK;
        int BLOCK;
      };
    };
  };

  //     3  %record (bfm) actual

  struct BFM ACTUAL;

  //     4  %record (bfm) %name pointer

  struct BFM *POINTER;

  //     5    actual = 0

  ACTUAL = (struct BFM){0};

  //     6    pointer == actual

  POINTER = (struct BFM *)/*?*/ &ACTUAL;

  //     7    pointer = 0

  *POINTER = (struct BFM){0};

  //     8  %endofprogram

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