aboutsummaryrefslogblamecommitdiffstats
path: root/lib/compiler/test/receive_SUITE_data/ref_opt/yes_7.erl
blob: 849eab1746631322ec8daa903bd817feed387c7d (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12











                                        
-module(yes_7).
-compile(export_all).

?MODULE() ->
    ok.

f(X, Y) ->
    Ref = make_ref(),
    receive
	{Z,_} when X =:= Y, Ref =:= Z ->
	    ok
    end.