aboutsummaryrefslogtreecommitdiffstats
path: root/lib/compiler/test/receive_SUITE_data/ref_opt/yes_13.erl
blob: 9e93d12ed60653ddb444a4ab9502095c8628c3d9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
-module(yes_13).
-compile(export_all).

?MODULE() ->
    ok.

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