fun g(bitstring):bitstring.

const gc:bitstring.
equation forall x:bitstring; g(x)=gc.
reduc forall x:bitstring; ung(g(x)) = x.

free c:channel.
free a:bitstring.
free b:bitstring.

process out(c,choice[g(a),g(b)])

(* EXPECTPV
Error in the definition of destructor ung after taking into account equations:
Error: All variables of the right-hand side of a rewrite rule
xtime: error in child process (status : 2)
END *)
