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











                                             
-module(yes_12).
-compile(export_all).

?MODULE() ->
    ok.

f() ->
    {_,Ref} = spawn_monitor(fun() -> ok end),
    receive
	{'DOWN',Ref,_,_,Reason} ->
	    Reason
    end.