#include <perms.h>

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

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

  //     2    %routine test(%integer p, %integername q)

  void TEST(int P, int *Q) {
    //     3      p = 1

    P = 1;

    //     4      q = 1

    *Q = 1;

    //     5    %end

    return;
  } /* end of TEST */

  //     6    %integername j, k

  int *J;
  int *K;

  //     7    %integer x, y

  int X;
  int Y;

  //     8    j == x

  J = (int *)/*?*/ &X;

  //     9    k == y

  K = (int *)/*?*/ &Y;

  //    10
  //    11    test(x, y)

  TEST(X, /*?*/ &Y);

  //    12    test(j, k)

  TEST(*J, K);

  //    13
  //    14  %endofprogram

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