#include <perms.h>
// Edinburgh IMP77 Compiler - Version 8.4
//
// 1 %begin
int main(int argc, char **argv) { /*%begin*/
_imp_initialise(argc, argv);
// 2
// 3 %on %event 9 %start
if (!_imp_on_event(9)) goto L_0001;
// 4 print string("Cannot open file"); newline
_imp_PRINTSTRING(_imp_str_literal("Cannot open file"));
_imp_NEWLINE();
// 5 %stop
_imp_stop(0);
// 6 %finish
L_0001:;
// 7
// 8 open input(1, "non-existent-file.txt");
_imp_OPENINPUT(1, _imp_str_literal("non-existent-file.txt"));
// 9
// 10 %endofprogram
_imp_stop(0);
return 0;
end_0:;
}