raz / test / libc / NilC.raz

14 lines · 257 B · raw · history · last change 389c4f3a

1(* A program over C stopped by a signal says where, as a static one
2 does: C's own start-up runs before Rt's handlers are set *)
3module NilC;
4import Out;
5
6proc main*;
7var p: ^I64;
8begin
9 Out.str("before\n");
10 Out.flush;
11 p^ := 1;
12end;
13
14end NilC.