#include <perms.h>

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

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

  //     2    %const %string(255) glaconst = "data"

  const _imp_string255 GLACONST = _imp_str_init("data");

  //     3    %string(255) another

  _imp_string255 ANOTHER;

  //     4    another="litconst"

  _imp_strncpy(/*?*/ &ANOTHER, ({
                 __typeof__(_imp_string255) tmp; /*B*/
                 tmp = _imp_str_literal("litconst");
                 (void *)&tmp;
               }),
               /*max:*/ 255);

  //     5    another=glaconst

  _imp_strncpy(/*?*/ &ANOTHER, ({
                 __typeof__(_imp_string255) tmp; /*B*/
                 tmp = GLACONST;
                 (void *)&tmp;
               }),
               /*max:*/ 255);

  //     6  %endofprogram

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