aboutsummaryrefslogblamecommitdiffstats
path: root/lib/compiler/test/receive_SUITE_data/ref_opt/no_3.erl
blob: 44cf8d7f711887bf185200383fc88f566384fe3d (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14













                                
-module(no_3).
-compile(export_all).

?MODULE() ->
    ok.

f(X) ->
    Ref = case X of
	      false -> ref;
	      true -> make_ref()
	  end,
    receive
	Ref -> ok
    end.