#include <perms.h>
// Edinburgh IMP77 Compiler - Version 8.4
//
// 1 %BEGIN
int main(int argc, char **argv) { /*%begin*/
_imp_initialise(argc, argv);
// 2 ! CHECKS THAT ASSIGNMENT OF STRINGS OF FIXED LENGTH WITH
// 3 ! L>128 DO NOT LOES CHARARCTERS
// 4 %STRING(255)%ARRAY L(0:1)
_imp_string255 L[2];
// 5 L(1)="
_imp_strncpy(
/*?*/ &L[1], ({
__typeof__(_imp_string255) tmp; /*B*/
tmp = _imp_str_literal(
"\n0123456789012345678901234567890123456789012345678901234567890\n01234567890123456789012345678901234567890"
"12345678901234567890\n0123456789012345678901234567890123456789012345678901234567890\nTEST OK");
(void *)&tmp;
}),
/*max:*/ 255);
// 6+ 0123456789012345678901234567890123456789012345678901234567890
// 7+ 0123456789012345678901234567890123456789012345678901234567890
// 8+ 0123456789012345678901234567890123456789012345678901234567890
// 9+ TEST OK"
// 10 PRINTSTRING("L1=".L(1)."
_imp_PRINTSTRING(
*({
__typeof__(_imp_string255) tmp = *({
_imp_string255 tmp =
_imp_join((_imp_string *)/*?*/ &*({
_imp_string255 tmp =
_imp_join((_imp_string *)/*?*/ _imp_str_literal_ptr("L1="), (_imp_string *)/*?*/ &L[1]);
(_imp_string255 *)&tmp;
}),
(_imp_string *)/*?*/ _imp_str_literal_ptr("\n"));
(_imp_string255 *)&tmp;
}) /*q*/;
(_imp_string255 *)&tmp;
})
);
// 11+ ")
// 12 %ENDOFPROGRAM
_imp_stop(0);
return 0;
end_0:;
}