free c:channel.

free k:bitstring [private].
free k1:bitstring [private].

event A.

query attacker(k) phase 1 ==> event(A).
query attacker(k) phase 0 ==> event(A).

process
  out(c,k);
  event A;
  phase 1;
  out(c,k1)

(* EXPECTPV
RESULT attacker_p1(k[]) ==> event(A) is false.
RESULT attacker(k[]) ==> event(A) is false.
0.016s (user 0.000s + system 0.016s), max rss 8440K
END *)
