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

?MODULE() ->
    ok.

%% Cover use of floating point registers.

f(Pid, X) when is_float(X) ->
    Ref = make_ref(),
    Pid ! {X+3},
    receive
	Ref ->
	    ok
    end.