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












                      
-module(yes_9).
-compile(export_all).

?MODULE() ->
    ok.

f(Fun) ->
    Ref = make_ref(),
    Fun(),
    receive
	{Ref,Reply} ->
	    Reply
    end.