(* check that identifiers x_0nnn are correctly handled *)

free c:channel.

free x_05:bitstring [private].
free RSA:bitstring [private].

event evCocks.
event evRSA.

query event(evCocks) ==> event(evRSA).

process
	out(c,RSA);
	in(c,x:bitstring);
	if x = x_05 then
		event evCocks;
		event evRSA
	else
		event evRSA

(* EXPECTPV
RESULT event(evCocks) ==> event(evRSA) is true.
0.004s (user 0.004s + system 0.000s), max rss 7152K
END *)
